6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-04 22:04:41 +00:00

Add a simple unit test with a temp repository

This commit is contained in:
Grzegorz Dlugoszewski
2020-05-16 15:22:39 +02:00
parent e0923a64ec
commit 77636e2463
4 changed files with 35 additions and 4 deletions

View File

@@ -26,7 +26,8 @@ How to build with `libgit2` statically linked into a single executable without d
replace github.com/libgit2/git2go/v30 => ./static/git2go
```
- Build `git-get` with `--tags static` flag:
- Build, install and test `git-get` with `--tags static` flag, eg:
```
go build -i --tags static
go test --tags static
```