mirror of
https://github.com/pgsty/minio.git
synced 2026-08-02 08:35:58 +03:00
build: update LDFLAGS for windows
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ build_script:
|
||||
- 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
|
||||
- go build --ldflags %LDFLAGS% -o %GOPATH%\bin\minio.exe
|
||||
|
||||
# to disable automatic tests
|
||||
test: off
|
||||
|
||||
Reference in New Issue
Block a user