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
test:
go run script/check-MakeGitError-thread-lock.go
go test ./...
build-libgit2:
./script/build-libgit2-static.sh
install:
go install ./...
test: build-libgit2
go run script/check-MakeGitError-thread-lock.go
./script/with-static.sh go test ./...
install: build-libgit2
./script/with-static.sh go install ./...