diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,7 +1,9 @@ TEST_ARGS ?= --count=1 -default: test +default: goimports test +goimports: + goimports -w *.go generate: static-build/install/lib/libgit2.a go generate --tags "static" ./... @@ -10,6 +12,7 @@ generate: static-build/install/lib/libgit2.a # ============== # This uses whatever version of libgit2 can be found in the system. test: + go-mod-clean # go install go.wit.com/apps/go-mod-clean@latest go run script/check-MakeGitError-thread-lock.go go test $(TEST_ARGS) ./... |
