From 530f3618a8f4c7d9c8d3981548112439b22e09e7 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 16 Dec 2024 17:50:57 -0600 Subject: 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 --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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) ./... -- cgit v1.2.3