From 064629428296914c4a5875f8da6b557d55f82930 Mon Sep 17 00:00:00 2001 From: Carlos Martín Nieto Date: Tue, 3 Jun 2014 18:35:09 +0200 Subject: Move some logic into the Makefile This should provide a nice compromise between the scripts and comon commands. --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 ./... -- cgit v1.2.3