File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,9 +77,12 @@ setup-gotools:
7777
7878mesos-go : setup-gotools
7979 GOOS=linux GOARCH=amd64 CGO_ENABLED=0 godep go build -a -installsuffix cgo -ldflags ' -s' -o bin/master-boot pkg/boot/mesos/master/main.go
80+ @$(call check-static-binary,bin/master-boot)
8081 GOOS=linux GOARCH=amd64 CGO_ENABLED=0 godep go build -a -installsuffix cgo -ldflags ' -s' -o bin/slave-boot pkg/boot/mesos/slave/main.go
82+ @$(call check-static-binary,bin/slave-boot)
8183 go-bindata -pkg bindata -o bindata/marathon/bindata.go pkg/boot/mesos/marathon/bash/; \
8284 GOOS=linux GOARCH=amd64 CGO_ENABLED=0 godep go build -a -installsuffix cgo -ldflags ' -s' -o bin/marathon-boot pkg/boot/mesos/marathon/main.go
85+ @$(call check-static-binary,bin/marathon-boot)
8386
8487mesos-template :
8588 sed " s/#VERSION#/$( MESOS) /g" template > Dockerfile
@@ -116,6 +119,7 @@ zookeeper-go:
116119 echo " Building..."
117120 go-bindata -pkg bindata -o bindata/zookeeper/bindata.go pkg/boot/zookeeper/bash/; \
118121 GOOS=linux GOARCH=amd64 CGO_ENABLED=0 godep go build -a -installsuffix cgo -ldflags ' -s' -o zookeeper/bin/boot pkg/boot/zookeeper/main/boot.go
122+ @$(call check-static-binary,zookeeper/bin/boot)
119123
120124test : mesos-go zookeeper-go
121125 @$(GOFMT ) -timeout 10s $(GO_PACKAGES )
You can’t perform that action at this time.
0 commit comments