parent
13c71b4ee1
commit
c5f8e5a9b0
1 changed files with 8 additions and 3 deletions
11
README.md
11
README.md
|
@ -61,9 +61,12 @@ By verifying the infohash, Quay can be sure that only their content is being sha
|
||||||
|
|
||||||
In order to compile the project, the [latest stable version of Go] and knowledge of a [working Go environment] are required.
|
In order to compile the project, the [latest stable version of Go] and knowledge of a [working Go environment] are required.
|
||||||
|
|
||||||
|
**NOTE:** Building in this fashion will download the latest version of all dependencies, which may have introduced breaking changes.
|
||||||
|
To produce a build with safe versions of dependencies, follow the instructions for reproducible builds.
|
||||||
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ mkdir chihaya
|
$ mkdir chihaya && export GOPATH=$PWD/chihaya
|
||||||
$ export GOPATH=$PWD/chihaya
|
|
||||||
$ go get -t -u github.com/chihaya/chihaya/...
|
$ go get -t -u github.com/chihaya/chihaya/...
|
||||||
$ $GOPATH/bin/chihaya --help
|
$ $GOPATH/bin/chihaya --help
|
||||||
```
|
```
|
||||||
|
@ -76,9 +79,11 @@ $ $GOPATH/bin/chihaya --help
|
||||||
Reproducible builds are handled by using [glide] to vendor dependencies.
|
Reproducible builds are handled by using [glide] to vendor dependencies.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
$ mkdir chihaya && export GOPATH=$PWD/chihaya
|
||||||
|
$ git clone git@github.com:chihaya/chihaya.git $GOPATH/src/github.com/chihaya/chihaya
|
||||||
$ cd $GOPATH/src/github.com/chihaya/chihaya
|
$ cd $GOPATH/src/github.com/chihaya/chihaya
|
||||||
$ glide install
|
$ glide install
|
||||||
$ go install github.com/chihaya/chihaya/...
|
$ go install github.com/chihaya/chihaya/cmd/...
|
||||||
$ $GOPATH/bin/chihaya --help
|
$ $GOPATH/bin/chihaya --help
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue