Skip to content

Commit

Permalink
update install from source instructions for modules
Browse files Browse the repository at this point in the history
  • Loading branch information
zaquestion authored Oct 29, 2018
1 parent a90ecdf commit 3aebeb2
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,12 @@ Head to the [releases](https://github.com/zaquestion/lab/releases) page and down
### Source

Required
* [Go 1.9+](https://golang.org/doc/install)
* [GOPATH](https://golang.org/doc/code.html#GOPATH)
* [dep](https://github.com/golang/dep)
* [Go 1.11+](https://golang.org/doc/install)

```
go get -u -d github.com/zaquestion/lab
cd $GOPATH/src/github.com/zaquestion/lab
dep ensure
go install -ldflags "-X \"main.version=$(git rev-parse --short=10 HEAD)\"" github.com/zaquestion/lab
git clone git@github.com:zaquestion/lab
cd lab
go install -ldflags "-X \"main.version=$(git rev-parse --short=10 HEAD)\"" .
```

or
Expand Down

0 comments on commit 3aebeb2

Please sign in to comment.