| Age | Commit message (Collapse) | Author |
|
CGO can perform variable substitution in the directives, so we don't
need to use a script to set up the variables; we can let the go tool do
it for us.
|
|
|
|
The cgo directives let us do a lot more than I previously thought, so we
can use this to make the building process of git2go go through the go
tool directly rather than via the script.
libgit2 still needs to be built manually, so we do still require make,
but only for building libgit2. Once that's built, any modifications to
git2go's own code can be built with
go build
|
|
We run pkg-config in a subshell, so our 'set -e' does not take effect
there. Explicitly error out if there was an error running pkg-config.
|
|
Build as release, and there is no need to install the library, we know
where the files are.
|
|
|
|
|
|
This should provide a nice compromise between the scripts and comon
commands.
|
|
|