build notes
This commit is contained in:
parent
f907e70f05
commit
b5643f83be
Notes:
Jeff Carr
2025-02-14 19:24:32 -06:00
// `autogen:go.mod` module go.wit.com/apps/utils/going2git go 1.22 toolchain go1.23.6 require ( go.wit.com/dev/alexflint/arg v1.5.5 go.wit.com/lib/libgit2 v0.1.3 go.wit.com/log v0.22.16 ) require ( go.wit.com/dev/alexflint/scalar v1.2.4 // indirect golang.org/x/crypto v0.33.0 // indirect golang.org/x/sys v0.30.0 // indirect ) // `autogen:go.sum` github.com/ProtonMail/go-crypto v1.1.5 h1:eoAQfK2dwL+tFSFpr7TbOaPNUbPiJj4fLYwwGE1FQO4= github.com/ProtonMail/go-crypto v1.1.5/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE= github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU= github.com/cloudflare/circl v1.3.7/go.mod h1:sRTcRWXGLrKw6yIGJ+l7amYJFfAXbZG0kBSc8r4zxgA= github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4= github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= go.wit.com/dev/alexflint/arg v1.5.5 h1:c4jgIb4OvHjnCMRNSjOa1sNLl6WDxV6tIkMVezR9hCk= go.wit.com/dev/alexflint/arg v1.5.5/go.mod h1:nH3F6TJDaAUgnLkC0WgRN/H047YfN1TYKaWPYr6B8lo= go.wit.com/dev/alexflint/scalar v1.2.4 h1:zmBeEkObwz1lcelwfGNYP2GS6SQ9e0tdv7JdHwMZEEk= go.wit.com/dev/alexflint/scalar v1.2.4/go.mod h1:kCNO1Fo5LnnK6+qa+zYhP5fdgfC1C+vx1ti99Md+FAM= go.wit.com/lib/libgit2 v0.1.3 h1:4zoKa70r3HrCZs7k9iWtex/Q33HNyJUFrCQofsyu2Bg= go.wit.com/lib/libgit2 v0.1.3/go.mod h1:+Bacd5UBWvohw39T821p82SeSYu4qb6/oATqHtPdruI= go.wit.com/log v0.22.16 h1:E0Vd0Z2ILtfjhs7J/CQ4g13DK1jtQiYl6l5KOBGsZoA= go.wit.com/log v0.22.16/go.mod h1:/c5Uj30sWRQ4B5ei2ElB6Q8Si/cK6v+KbxnH208KD84= golang.org/x/crypto v0.33.0 h1:IOBPskki6Lysi0lo9qQvbxiQ+FvsCC/YWOecCHAixus= golang.org/x/crypto v0.33.0/go.mod h1:bVdXmD7IV/4GdElGPozy6U7lWdRXA4qyRVGJV57uQ5M= golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc= golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.29.0 h1:L6pJp37ocefwRRtYPKSWOWzOtWSxVajvz2ldH/xi3iU= golang.org/x/term v0.29.0/go.mod h1:6bl4lRlvVuDgSf3179VpIxBF0o10JUpXWOnI7nErv7s= // `autogen:`
6
Makefile
6
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
|
||||
|
|
|
@ -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.
|
Loading…
Reference in New Issue