# lilgit
Simple, single binary databaseless git server that relies completely on (bare)
git repositories. No javascript required for the web viewer.
## Building
As an example of building on an older arm target:
```
cross build --target armv7-unknown-linux-musleabihf --release
```
And if you run into issues with GLIBC errors, try `cargo clean` and rerun (see https://github.com/cross-rs/cross/issues/724)
## Tests
* Create a test directory with valid repos for a single user. e.g.
```
$HOME/
lilgit_test/
neallred/
lilgit/
.git
README.md
src/
...
```
* Set the `LILGIT_TEST_DIR` env var to the path of that directory
* Set the `LILGIT_TEST_USER` env var to matching single user
* Run tests with `cargo test`