summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2016-08-27 21:11:22 +0200
committerCarlos Martín Nieto <[email protected]>2016-08-27 21:11:22 +0200
commit92fa6357aee0c477e7090f6baf6251e969541123 (patch)
tree10922df59a224384d6af72550a9a0c3bb257ff9c
parentaadd0c2035d12b6469c53b7c444ea6fe1006c2c0 (diff)
Bring back the Makefile from 'next'
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 9c42283..3040857 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,11 @@
default: test
-test:
+build-libgit2:
+ ./script/build-libgit2-static.sh
+
+test: build-libgit2
go run script/check-MakeGitError-thread-lock.go
- go test ./...
+ ./script/with-static.sh go test ./...
-install:
- go install ./...
+install: build-libgit2
+ ./script/with-static.sh go install ./...