Bring back the Makefile from 'next'

This commit is contained in:
Carlos Martín Nieto 2016-08-27 21:11:22 +02:00
parent aadd0c2035
commit 92fa6357ae
1 changed files with 8 additions and 5 deletions

View File

@ -1,8 +1,11 @@
default: test default: test
test: build-libgit2:
go run script/check-MakeGitError-thread-lock.go ./script/build-libgit2-static.sh
go test ./...
install: test: build-libgit2
go install ./... go run script/check-MakeGitError-thread-lock.go
./script/with-static.sh go test ./...
install: build-libgit2
./script/with-static.sh go install ./...