summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f017f12..6e823cb 100644
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,10 @@ BUILDTIME = $(shell date +%Y.%m.%d_%H%M)
all: build
build: goimports
- GO111MODULE=off go build -v -x \
+ PKG_CONFIG_PATH=/opt/libgit2/ GO111MODULE=off go build -v -x \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
- ./going2git -h
+ ldd going2git
+ ./going2git --refs --repo .
vet:
GO111MODULE=off go vet