diff options
| author | Carlos Martín Nieto <[email protected]> | 2014-06-03 18:35:09 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2014-06-03 18:35:09 +0200 |
| commit | 064629428296914c4a5875f8da6b557d55f82930 (patch) | |
| tree | dc7123f06956cdaf851674f8066c11fbfa75c11c /Makefile | |
| parent | 29a983b68f6dc75271d24e33fc5b3eb7801ce986 (diff) | |
Move some logic into the Makefile
This should provide a nice compromise between the scripts and comon
commands.
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 ./... |
