Skip to content
This repository was archived by the owner on Nov 29, 2024. It is now read-only.

Commit bc24eed

Browse files
committed
Merge branch 'master' of github.com:youtube/doorman
2 parents 67dd6d6 + 4ad0692 commit bc24eed

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ language: go
22

33
go:
44
- 1.5
5+
- 1.6
56

67
script: go test -race ./go/...
78
install: GO15VENDOREXPERIMENT=1 go get -t -v ./go/...

README.md

+13-4
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,16 @@ Longer term plans:
7676

7777
## Installation
7878

79-
First, you need to set up your environment.
79+
First, you need to have Go installed. You can either follow the official [installation instructions](https://golang.org/doc/install) or, on OS X, just do
80+
```sh
81+
brew install go
82+
```
8083

84+
As part of the initial setup, you have to set `GOPATH`, wihch is the location where Go keeps all its sources and binary artifacts.
8185
```sh
8286
export GOPATH=...
83-
export GO15VENDOREXPERIMENT=1
8487
```
8588

86-
This is the location where Go keeps all its sources and binary artifacts: the doorman executable binary will go to `$GOPATH/bin/doorman`. `$GO15VENDOREXPERIMENT` needs to be set to allow easy vendoring (see https://golang.org/s/go15vendor). It will cease to be necessary as of Go 1.6.
87-
8889
With this out of the way, Doorman is just one go get away:
8990

9091
```sh
@@ -98,6 +99,14 @@ mkdir -p $GOPATH/src/github.com/youtube
9899
git clone [email protected]:youtube/doorman.git
99100
```
100101

102+
### Go version <= 1.5
103+
104+
If you are using a version of Go earlier than 1.6, you will need to set an environment variable to enable vendoring (see https://golang.org/s/go15vendor):
105+
106+
```sh
107+
export GO15VENDOREXPERIMENT=1
108+
```
109+
101110
## Contributing
102111

103112
See [CONTRIBUTING](CONTRIBUTING.md) for details on submitting patches and the contribution workflow.

0 commit comments

Comments
 (0)