diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7d7475c --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +default: test + +build-libgit2: + ./script/build-libgit2-static.sh + +update-libgit2: + cd vendor/libgit2 && \ + git fetch origin development && \ + git checkout -qf FETCH_HEAD + +test: build-libgit2 + ./script/with-static.sh go test ./... + +install: build-libgit2 + ./script/with-static.sh go install ./... |
