1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-03 13:11:48 +02:00

docs: improve docs

This commit is contained in:
Carlos Alexandro Becker 2018-05-14 09:56:37 -03:00 committed by Carlos Alexandro Becker
parent 08c4f46843
commit e079dca3ed
3 changed files with 7 additions and 6 deletions

View File

@ -18,10 +18,8 @@ Prerequisites:
Clone `goreleaser` from source into `$GOPATH`:
```sh
$ mkdir -p $GOPATH/src/github.com/goreleaser/goreleaser
$ cd $_
$ git clone git@github.com:goreleaser/goreleaser.git
$ cd goreleaser
$ go get -d github.com/goreleaser/goreleaser
$ cd $GOPATH/src/github.com/goreleaser/goreleaser
```
Install the build and lint dependencies:

View File

@ -17,7 +17,7 @@ ifeq ($(OS), Darwin)
else
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
endif
dep ensure
dep ensure -vendor-only
echo "make check" > .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit
.PHONY: setup

View File

@ -49,7 +49,10 @@ manually.
Note: this method requires Go 1.10+.
```console
$ go get github.com/goreleaser/goreleaser
$ go get -d github.com/goreleaser/goreleaser
$ cd $GOPATH/src/github.com/goreleaser/goreleaser
$ dep ensure -vendor-only
$ make build
```
It is recommended to also run `dep ensure` to make sure that the dependencies