Skip to content

Commit

Permalink
Merge pull request #53 from abeaumont/fix/tidy-makefile
Browse files Browse the repository at this point in the history
build: Use GO_BUILD instead of GO_CMD build
  • Loading branch information
abeaumont authored Jul 5, 2017
2 parents 7f81918 + 91f957a commit f4c43e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ BRANCH := $(shell git rev-parse --abbrev-ref HEAD)

# Go parameters
GO_CMD = go
GO_BUILD = $(GO_CMD) build
GO_BUILD = $(GO_CMD) build -a
GO_CLEAN = $(GO_CMD) clean
GO_GET = $(GO_CMD) get -v
GO_TEST = $(GO_CMD) test -v
Expand Down Expand Up @@ -118,7 +118,7 @@ build-internal:
mkdir -p $(BUILD_PATH); \
for cmd in $(COMMANDS); do \
cd $(CMD_PATH)/$${cmd}; \
$(GO_CMD) build -a --ldflags '$(LDFLAGS)' -o $(BUILD_PATH)/$${cmd} .; \
$(GO_BUILD) --ldflags '$(LDFLAGS)' -o $(BUILD_PATH)/$${cmd} .; \
done;

docker-image-build: build
Expand Down

0 comments on commit f4c43e9

Please sign in to comment.