Simplify README

This commit is contained in:
Fabien Potencier 2023-10-25 12:09:21 -07:00
parent cd4e65afcd
commit a11445a29c

View file

@ -135,19 +135,20 @@ Manual Installation
-------------------
If you want to contribute to `splitsh-lite` or use it as a library, you first
need to install `libgit2` in version `1.5`, preferably using your package manager of choice.
need to install `libgit2` in version `1.5`, preferably using your package
manager of choice.
Then, compile `splitsh-lite`:
```bash
go get
go build -o splitsh-lite github.com/splitsh/lite
```
If everything goes fine, a `splitsh-lite` binary should be available in the
current directory.
If you get errors about an incompatible `libgit2` library, try exporting the needed flags, e.g.
If you get errors about an incompatible `libgit2` library, try exporting the
needed flags, e.g.
```bash
export LDFLAGS="-L/opt/homebrew/opt/libgit2@1.5/lib"