Update compile instructions

This commit is contained in:
Tulir Asokan 2019-02-04 19:13:24 +02:00 committed by GitHub
parent bf2a5e9b34
commit e65d6d10a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,13 +21,13 @@ precompiled executables. For now, you can either download
a CI build from [dl.maunium.net/programs/gomuks](https://dl.maunium.net/programs/gomuks) a CI build from [dl.maunium.net/programs/gomuks](https://dl.maunium.net/programs/gomuks)
or compile from source: or compile from source:
0. Install [Go](https://golang.org/) 1.10 or higher 0. Install [Go](https://golang.org/) 1.11 or higher
1. Run `go get -u maunium.net/go/gomuks` 1. Clone the repo: `git clone https://github.com/tulir/gomuks.git && cd gomuks`
2. gomuks should now be in `$GOPATH/bin/gomuks` 2. Build: `go build`
Simply pull changes (`git pull`) and run `go build` again to update.
## Developing ## Developing
Running `go install` in `$GOPATH/src/maunium.net/go/gomuks` will recompile the project and dependencies into `$GOPATH/bin/gomuks`.
For debugging, use `tail -f /tmp/gomuks-debug.log` and write to it using the methods in the `maunium.net/go/gomuks/debug` package: For debugging, use `tail -f /tmp/gomuks-debug.log` and write to it using the methods in the `maunium.net/go/gomuks/debug` package:
```go ```go
import ( import (