summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-16 17:50:57 -0600
committerJeff Carr <[email protected]>2024-12-16 17:50:57 -0600
commit530f3618a8f4c7d9c8d3981548112439b22e09e7 (patch)
tree30b529a83767648dd31c8bfa6fff6b6163174909 /Makefile
parente65b1c188ccb9b4aa4863ec702c3985c382f53db (diff)
update to libgit2 version 1.8.4. dump old github and vendor stuff
go install go.wit.com/apps/go-clone@latest go install go.wit.com/apps/go-mod-clean@latest go-clone --recusive go.wit.com/lib/git2go Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 71c5ee0..406cfc2 100644
--- a/Makefile
+++ b/Makefile
@@ -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) ./...