summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c7ee16c..54dd934 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,13 @@ build: goimports
ldd going2git
LD_LIBRARY_PATH=/opt/libgit2 ./going2git --refs --repo .
+run:
+ LD_LIBRARY_PATH=/opt/libgit2 ./going2git --refs --repo .
+
+build-libgit2-prep:
+ cd /opt/ && git clone https://github.com/libgit2/libgit2.git
+ apt build-dep libgit2
+
build-libgit2:
cd /opt/libgit2/ && cmake .
cd /opt/libgit2/ && cmake --build .