Skip to content

Commit

Permalink
README.md: Ease go install-based installation instructions
Browse files Browse the repository at this point in the history
Since we no longer use the replace directive in go.mod (see previous
commit) it is no possible to install hii directly using `go install`
again.
  • Loading branch information
nmeum committed Jun 3, 2023
1 parent 6aa1ea2 commit e5f3929
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,11 @@ The program can be installed either using `go install` or `make`.

### go install

To install to the program using `go install` run the following commands:
To install to the program using `go install` run the following command:

$ git clone https://github.com/nmeum/hii.git
$ cd hii
$ go install
$ go install github.com/nmeum/hii@latest

Unfortunately, using `go install` directly is currently not possible
since `replace` directives (used in hii to supply a custom girc version)
are [not supported for `go install`][go replace].
Note that this will not install additional documentation files, e.g. man pages.

### make

Expand Down Expand Up @@ -133,4 +129,3 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
[runit homepage]: http://smarden.org/runit/
[runit user]: http://smarden.org/runit/faq.html#userservices
[sasl mechanisms]: https://ircv3.net/docs/sasl-mechs
[go replace]: https://github.com/golang/go/issues/44840

0 comments on commit e5f3929

Please sign in to comment.