From 7aa9fb9fe658168ac431a6e8169d882c4ab6cb76 Mon Sep 17 00:00:00 2001 From: sammyette <38820196+TorchedSammy@users.noreply.github.com> Date: Thu, 20 May 2021 19:21:28 -0400 Subject: [PATCH] docs: shorten/simplify build steps --- README.md | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 9dbe346..c26f7f0 100644 --- a/README.md +++ b/README.md @@ -61,35 +61,26 @@ On OpenSUSE, it can be installed with: sudo zypper install readline-devel ``` -#### Install +#### Build First, clone Hilbish: ```sh git clone --recursive https://github.com/Hilbis/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 go get -d -``` - -then, build and install: -```sh make dev -sudo make install -# Or -sudo make all -``` - -Or, if you want the latest stable release: -``` -git checkout $(git describe --tags `git rev-list --tags --max-count=1`) +# If you want to use latest stable release, make build -sudo make install +# or want to use Hilbiline, +make hilbiline ``` - -If you want to use Hilbiline instead, replace `make dev`/`make build` with `make hilbiline`. -`make build all` will still try to use readline. +#### Install +`sudo make install` Alternatively, if you use Arch Linux, you can compile Hilbish with an **(unofficial)** AUR package: ```sh