summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6e823cb..87e1555 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,11 @@ build: goimports
PKG_CONFIG_PATH=/opt/libgit2/ GO111MODULE=off go build -v -x \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
ldd going2git
- ./going2git --refs --repo .
+ LD_LIBRARY_PATH=/opt/libgit2 ./going2git --refs --repo .
+
+build-libgit2:
+ cd /opt/libgit2/ && cmake .
+ cd /opt/libgit2/ && cmake --build .
vet:
GO111MODULE=off go vet