mirror of https://github.com/Hilbis/Hilbish
docs: shorten/simplify build steps
parent
459606618c
commit
7aa9fb9fe6
27
README.md
27
README.md
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue