Skip to content

Commit

Permalink
🌱 remove tools package in favor of go install
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Shen <mishen@umich.edu>
  • Loading branch information
mjlshen committed Jul 1, 2022
1 parent dda4b5f commit 8928d66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 27 deletions.
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,11 @@ golangci-lint:

.PHONY: apidiff
apidiff: go-apidiff ## Run the go-apidiff to verify any API differences compared with origin/master
$(GO_APIDIFF) master --compare-imports --print-compatible --repo-path=.
$(GOBIN)/go-apidiff master --compare-imports --print-compatible --repo-path=.

GO_APIDIFF = $(shell pwd)/bin/go-apidiff
.PHONY: go-apidiff
go-apidiff:
@[ -f $(GO_APIDIFF) ] || { \
cd tools && go build -tags=tools -o $(GO_APIDIFF) github.com/joelanford/go-apidiff ;\
}
go install github.com/joelanford/go-apidiff@v0.4.0

##@ Tests

Expand Down
22 changes: 0 additions & 22 deletions tools/tools.go

This file was deleted.

0 comments on commit 8928d66

Please sign in to comment.