Use variable substitution instead of a wrapper script #338
Loading…
Reference in New Issue
No description provided.
Delete Branch "cmn/variable-subst"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From 1.5 onward the build tool supports variable substitution in the cgo directives. This makes us use that instead of the wrapper script. Once the vendored libgit2 is built the 'next' branch can thus also be used with the usual commands
go build
,go test
without having to use the Makefile or calling the wrapping script.We still can't tell the build tool to build libgit2, so we still need a script for that.