summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--README.md12
-rw-r--r--go.tools2
3 files changed, 19 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
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..85675a9
--- /dev/null
+++ b/README.md
@@ -0,0 +1,12 @@
+# going2git
+
+This is a test build against git2go & libgit2
+
+* This is a hack job to see if I can get the build to work
+
+I tore out a bunch of stuff from the git2go repo to try to figure out why it doesn't
+work for me. I have not had time yet to submit patches correctly yet. I'm too tied
+up trying to get the right tooling put together to make this easy.
+
+So, this is really ugly and I was rude about dumping code -- please allow me some
+leeway until I get things fixed up in an appropriate way to submit patches upstream.
diff --git a/go.tools b/go.tools
new file mode 100644
index 0000000..157e620
--- /dev/null
+++ b/go.tools
@@ -0,0 +1,2 @@
+cmake
+libssl-dev