Build tweaks

Wrap long lines.
Add GOFLAGS support to build and test.
Comments.
This commit is contained in:
Tim Hockin
2014-08-28 22:55:17 -07:00
parent c380dd0426
commit f0c3896281
3 changed files with 25 additions and 11 deletions

View File

@@ -45,6 +45,7 @@ cp -r $KUBE_DIR/cluster/saltbase $MASTER_RELEASE_DIR/src/saltbase
# on.
version_ldflags=$(kube::version_ldflags)
# Note: go_opt must stay in sync with the flags in hack/build-go.sh.
cat << EOF > $MASTER_RELEASE_DIR/src/saltbase/pillar/common.sls
instance_prefix: $INSTANCE_PREFIX-minion
go_opt: -ldflags '${version_ldflags}'