Use build tags to control when and where cmount is built

This commit is contained in:
Nick Craig-Wood
2017-05-19 17:08:04 +01:00
parent 7daf97f90a
commit 8f54dc06a2
11 changed files with 29 additions and 15 deletions
+3 -3
View File
@@ -31,12 +31,12 @@ build_script:
- make version > %TEMP%\version
- set /p RCLONE_VERSION=<%TEMP%\version
- set PATH=%PATHCC32%
- go run bin/cross-compile.go -release beta-latest -git-log %TEMP%\git-log.txt -include "^windows/386" -cgo %RCLONE_VERSION%
- go run bin/cross-compile.go -release beta-latest -git-log %TEMP%\git-log.txt -include "^windows/386" -cgo -tags cmount %RCLONE_VERSION%
- set PATH=%PATHCC64%
- go run bin/cross-compile.go -release beta-latest -git-log %TEMP%\git-log.txt -include "^windows/amd64" -cgo -no-clean %RCLONE_VERSION%
- go run bin/cross-compile.go -release beta-latest -git-log %TEMP%\git-log.txt -include "^windows/amd64" -cgo -no-clean -tags cmount %RCLONE_VERSION%
test_script:
- make quicktest
- make GOTAGS=cmount quicktest
artifacts:
- path: rclone.exe