File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ BINARY_DEST_DIR := rootfs/usr/bin
1717# Common flags passed into Go's linker.
1818LDFLAGS := "-s -X main.version=${VERSION}"
1919IMAGE_PREFIX ?= deis
20- BINARIES := extract-types extract-version generate-buildhook get-app-config get-app-values publish-release-controller yaml2json-procfile
21- STANDALONE := extract-types generate-buildhook yaml2json-procfile
2220# Docker Root FS
2321BINDIR := ./rootfs
2422
@@ -42,12 +40,8 @@ bootstrap:
4240build :
4341 ${DEV_ENV_PREFIX} -e CGO_ENABLED=0 ${DEV_ENV_IMAGE} go build -a -installsuffix cgo -ldflags ' -s' -o $(BINARY_DEST_DIR ) /boot boot.go || exit 1
4442 @$(call check-static-binary,$(BINARY_DEST_DIR ) /builder)
45- for i in $( BINARIES) ; do \
46- ${DEV_ENV_PREFIX} -e CGO_ENABLED=0 ${DEV_ENV_IMAGE} go build -a -installsuffix cgo -ldflags ' -s' -o $(BINARY_DEST_DIR ) /$$ i pkg/src/$$ i.go || exit 1; \
47- done
48- @for i in $(BINARIES ) ; do \
49- $(call check-static-binary,$(BINARY_DEST_DIR ) /$$i) ; \
50- done
43+ ${DEV_ENV_PREFIX} -e CGO_ENABLED=0 ${DEV_ENV_IMAGE} go build -a -installsuffix cgo -ldflags ' -s' -o $(BINARY_DEST_DIR ) /gitreceive ./gitreceive/main.go || exit 1
44+ @$(call check-static-binary,$(BINARY_DEST_DIR ) /gitreceive)
5145
5246test :
5347 ${DEV_ENV_CMD} go test ./pkg && \
You can’t perform that action at this time.
0 commit comments