Skip to content

Commit

Permalink
docs: build from source steps
Browse files Browse the repository at this point in the history
refs #1013
  • Loading branch information
caarlos0 committed May 14, 2019
1 parent c98d388 commit 8cb0632
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion www/content/install.md
Expand Up @@ -80,4 +80,24 @@ and iterate from that.

## Compiling from source

Please follow the relevant steps on our [contributing guide](/contributing).
Here you have two options:

1. If you want to contribute to the project, please follow the
steps on our [contributing guide](/contributing).
2. If just want to build from source for whatever reason, follow the steps
bellow:

```sh
# clone it outside GOPATH
git clone https://github.com/goreleaser/goreleaser
cd goreleaser

# get dependencies using go modules (needs go 1.11+)
go get ./...

# build
go build -o goreleaser .

# check it works
./goreleaser --version
```

0 comments on commit 8cb0632

Please sign in to comment.