diff options
| author | Carlos MartÃn Nieto <[email protected]> | 2017-04-14 13:11:28 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-04-14 13:11:28 +0200 |
| commit | 7cd5a4e731e982391b9274e17c7f32050d8e5b15 (patch) | |
| tree | 47478f9d74f7d78cf3a8ac1ee9b2847f380b7267 /Makefile | |
| parent | 71bdf97227584d5a1e346b0ead8a47c52c7b2c41 (diff) | |
| parent | e7747d31746abadbba6ae986538874b336687f7a (diff) | |
Merge pull request #371 from libgit2/static-dynamic
Allow building statically via the "static" build tag
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -1,11 +1,21 @@ default: test -build-libgit2: - ./script/build-libgit2-static.sh - test: build-libgit2 go run script/check-MakeGitError-thread-lock.go go test ./... install: build-libgit2 go install ./... + +build-libgit2: + ./script/build-libgit2-static.sh + +static: build-libgit2 + go run script/check-MakeGitError-thread-lock.go + go test --tags "static" ./... + +install-static: build-libgit2 + go install --tags "static" ./... + +test-static: build-libgit2 + go test --tags "static" ./... |
