docs: shorten/simplify build steps

pull/59/head
sammyette 2021-05-20 19:21:28 -04:00
parent 459606618c
commit 7aa9fb9fe6
No known key found for this signature in database
GPG Key ID: 50EE40A2809851F5
1 changed files with 9 additions and 18 deletions

View File

@ -61,35 +61,26 @@ On OpenSUSE, it can be installed with:
sudo zypper install readline-devel sudo zypper install readline-devel
``` ```
#### Install #### Build
First, clone Hilbish: First, clone Hilbish:
```sh ```sh
git clone --recursive https://github.com/Hilbis/Hilbish git clone --recursive https://github.com/Hilbis/Hilbish
cd Hilbish cd Hilbish
# If you want the latest stable release, run this following command
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
``` ```
And get dependencies: And get dependencies and build:
```sh ```sh
go get -d go get -d
```
then, build and install:
```sh
make dev make dev
sudo make install # If you want to use latest stable release,
# Or
sudo make all
```
Or, if you want the latest stable release:
```
git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
make build make build
sudo make install # or want to use Hilbiline,
make hilbiline
``` ```
#### Install
If you want to use Hilbiline instead, replace `make dev`/`make build` with `make hilbiline`. `sudo make install`
`make build all` will still try to use readline.
Alternatively, if you use Arch Linux, you can compile Hilbish with an **(unofficial)** AUR package: Alternatively, if you use Arch Linux, you can compile Hilbish with an **(unofficial)** AUR package:
```sh ```sh