summaryrefslogtreecommitdiff
path: root/script/with-static.sh
AgeCommit message (Collapse)Author
2016-11-01Get rid of the with-static.sh scriptCarlos Martín Nieto
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.
2014-12-31Revert "Make the cgo tool do more linking work"Carlos Martín Nieto
2014-12-27Make the cgo tool do more linking workCarlos Martín Nieto
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
2014-08-26Exit when pkg-config isn't foundCarlos Martín Nieto
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.
2014-06-07Tighten up the buildCarlos Martín Nieto
Build as release, and there is no need to install the library, we know where the files are.
2014-06-07Really build staticallyCarlos Martín Nieto
2014-06-07hack for travisCarlos Martín Nieto
2014-06-03Move some logic into the MakefileCarlos Martín Nieto
This should provide a nice compromise between the scripts and comon commands.
2014-06-03Add scripts to build and use a static libgit2Carlos Martín Nieto