Skip to content

Commit

Permalink
feat: add 'make bump-go-deps'
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Aug 28, 2019
1 parent b4f0390 commit b0d700a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ tidy:
$(GO) mod tidy; \
); done

.PHONY: bump-go-deps
bump-go-deps:
set -e; for dir in `find . -type f -name "go.mod" | sed 's@/[^/]*$$@@' | sort | uniq`; do ( set -xe; \
cd $$dir; \
$(GO) get -u ./...; \
); done

.PHONY: release
release:
goreleaser --snapshot --skip-publish --rm-dist
Expand Down

0 comments on commit b0d700a

Please sign in to comment.