Merge pull request #1345 from influxdb/go14_build

Update 'go get' for Go 1.4
pull/1343/merge
Philip O'Toole 2015-01-21 11:24:27 -08:00
commit b3091be3d3
1 changed files with 4 additions and 2 deletions

View File

@ -74,11 +74,13 @@ Make sure you have Go installed. To build the project, execute the following com
```bash
cd $GOPATH/src/github.com/influxdb
go get -u ./...
go get -u -f ./...
go build ./...
```
Once compilation completes, the binaries can be found in `$GOPATH/bin`. To set the version and commit flags pass the following to the build command:
Once compilation completes, the binaries can be found in `$GOPATH/bin`. Please note that the InfluxDB binary is named `influxd`, not `influxdb`.
To set the version and commit flags during the build pass the following to the build command:
```bash
-ldflags="-X main.version $VERSION -X main.commit $COMMIT"