Skip to content

Commit

Permalink
chore: bump deps (#198)
Browse files Browse the repository at this point in the history
chore: bump deps
  • Loading branch information
moul authored Nov 25, 2019
2 parents c445cd7 + d11c222 commit 0e91952
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 32 deletions.
17 changes: 10 additions & 7 deletions go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 21 additions & 14 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,10 @@ RELEASE_STEPS += go.release
endif

.PHONY: go.unittest
go.unittest:
echo "" > /tmp/coverage.txt
go.unittest: coverage.txt
coverage.txt:
@rm -f /tmp/coverage.txt
@touch /tmp/coverage.txt
@set -e; for dir in `find . -type f -name "go.mod" | grep -v /vendor/ | sed 's@/[^/]*$$@@' | sort | uniq`; do ( set -xe; \
cd $$dir; \
$(GO) test $(GO_TEST_OPTS) -cover -coverprofile=/tmp/profile.out -covermode=atomic -race ./...; \
Expand All @@ -100,6 +102,10 @@ go.unittest:
fi); done
mv /tmp/coverage.txt .

.PHONY: go.coverfunc
go.coverfunc: coverage.txt
go tool cover -func=./coverage.txt | grep -v .pb.go: | grep -v .pb.gw.go:

.PHONY: go.lint
go.lint:
@set -e; for dir in `find . -type f -name "go.mod" | grep -v /vendor/ | sed 's@/[^/]*$$@@' | sort | uniq`; do ( set -xe; \
Expand Down
6 changes: 3 additions & 3 deletions tool/go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions tool/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0e91952

Please sign in to comment.