Build package instead of go source files. Fixes issue where build constraints were not being honored. (#205)

This commit is contained in:
Jesse Peterson
2017-06-02 10:48:00 -07:00
committed by GitHub
parent c30f2806cc
commit 1d06957af9

View File

@@ -27,5 +27,5 @@ build "linux" "amd64" "./*.go"
NAME=mdmctl
echo "\nBuilding $NAME version $VERSION"
build "darwin" "amd64" "./cmd/mdmctl/*.go"
build "linux" "amd64" "./cmd/mdmctl/*.go"
build "darwin" "amd64" "./cmd/mdmctl"
build "linux" "amd64" "./cmd/mdmctl"