Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
fix(builder): exit if an error occur compiling go
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Jan 21, 2015
1 parent 204afde commit 43d8a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/Makefile
Expand Up @@ -9,7 +9,7 @@ BINARY_DEST_DIR := image/bin

build: check-docker
for i in $(BINARIES); do \
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 godep go build -a -v -ldflags '-s' -o $(BINARY_DEST_DIR)/$$i bin/$$i.go ; \
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 godep go build -a -v -ldflags '-s' -o $(BINARY_DEST_DIR)/$$i bin/$$i.go || exit 1; \
done
docker build -t $(IMAGE) image

Expand Down

0 comments on commit 43d8a92

Please sign in to comment.