Merge pull request #395 from libgit2/cmn/check-thread-lock

Deduplicate Makefile static target and add thread locking check
This commit is contained in:
Carlos Martín Nieto 2017-07-08 20:49:16 +02:00 committed by GitHub
commit ce65c2303e
1 changed files with 1 additions and 4 deletions

View File

@ -10,12 +10,9 @@ install: build-libgit2
build-libgit2: build-libgit2:
./script/build-libgit2-static.sh ./script/build-libgit2-static.sh
static: build-libgit2
go run script/check-MakeGitError-thread-lock.go
go test --tags "static" ./...
install-static: build-libgit2 install-static: build-libgit2
go install --tags "static" ./... go install --tags "static" ./...
test-static: build-libgit2 test-static: build-libgit2
go run script/check-MakeGitError-thread-lock.go
go test --tags "static" ./... go test --tags "static" ./...