diff options
| author | Carlos Martín Nieto <[email protected]> | 2014-07-03 08:47:38 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2014-07-03 08:47:38 +0200 |
| commit | c7ac950815223aa8a2457571d4013387f3b50454 (patch) | |
| tree | da7f4bde80b950f08877d51a20c8bd79ba289a4f | |
| parent | d117fc9aa8b727a59fbdf7b1aa3bd87c60331b6a (diff) | |
Update README
Specify that we stick to the release and how to run the tests.
| -rw-r--r-- | README.md | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -1,7 +1,7 @@ git2go ====== -Go bindings for [libgit2](http://libgit2.github.com/). These bindings are for top-of-the-branch libgit2, and they move fast, things may or may not work. Operator get me Beijing-jing-jing-jing! +Go bindings for [libgit2](http://libgit2.github.com/). The master branch follows the latest libgit2 release. Installing ---------- @@ -15,6 +15,19 @@ Run `go get github.com/libgit2/git2go` to download the code and go to your `$GOP will compile libgit2 and run `go install` such that it's statically linked to the git2go package. +Running the tests +----------------- + +Similarly to installing, running the tests requires linking against the local libgit2 library, so the Makefile provides a wrapper + + make test + +alternatively, if you want to pass arguments to `go test`, you can use the script that sets it all up + + ./script/with-static.sh go test -v + +which will run the specified arguments with the correct environment variables. + License ------- |
