From e65d6d10a7e0776b2c74ce3d71bdc2f42ae27bb9 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Mon, 4 Feb 2019 19:13:24 +0200 Subject: Update compile instructions --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 75d527a..553b779 100644 --- a/README.md +++ b/README.md @@ -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) or compile from source: -0. Install [Go](https://golang.org/) 1.10 or higher -1. Run `go get -u maunium.net/go/gomuks` -2. gomuks should now be in `$GOPATH/bin/gomuks` +0. Install [Go](https://golang.org/) 1.11 or higher +1. Clone the repo: `git clone https://github.com/tulir/gomuks.git && cd gomuks` +2. Build: `go build` -## Developing -Running `go install` in `$GOPATH/src/maunium.net/go/gomuks` will recompile the project and dependencies into `$GOPATH/bin/gomuks`. +Simply pull changes (`git pull`) and run `go build` again to update. +## Developing 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 import ( -- cgit v1.2.3