summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-14 17:55:46 -0600
committerJeff Carr <[email protected]>2025-02-14 17:55:46 -0600
commitb5643f83bef98d940f34a987a477436f91710e80 (patch)
tree395c80a06f015f88decfcd2b50dae483f69c2536 /Makefile
parentf907e70f051e9631542d7f72ae9d238ddabd8fd8 (diff)
build notesv0.0.8
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