build: Versioning now populated through ldflags

This commit is contained in:
Harshavardhana
2015-11-02 02:11:34 -08:00
parent ef04507bc4
commit 7845515f36
6 changed files with 36 additions and 65 deletions
+3
View File
@@ -26,6 +26,9 @@ build_script:
- go test -race .
- go test github.com/minio/minio/pkg...
- go test -race github.com/minio/minio/pkg...
- go run buildscripts/gen-ldflags.go > temp.txt
- set /p LDFLAGS=<temp.txt
- go build -ldflags=%LDFLAGS% -o %GOPATH%\bin\minio.exe
# to disable automatic tests
test: off