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:
parent
08c4f46843
commit
e079dca3ed
@ -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:
|
||||
|
2
Makefile
2
Makefile
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user