Skip to content

Commit

Permalink
Remove one last bit of loader from Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
gamolina committed Dec 12, 2024
1 parent f4e9c4d commit 978119a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ build_admin: format vet
CGO_ENABLED=0 go build -o ${BIN_DIR}/${BIN_ADMIN} ${LDFLAGS} ${PKG_ADMIN}

build_proxy: format vet
$(foreach GOARCH, $(ARCHITECTURES),\
$(shell export GOARCH=$(GOARCH);\
CGO_ENABLED=0 go build -o $(BIN_DIR)/$(BIN_PROXY)-$(PLATFORM)-$(GOARCH) ${LDFLAGS} ${PKG_PROXY} \
))
$(foreach GOARCH, $(ARCHITECTURES),\
$(shell export GOARCH=$(GOARCH);\
CGO_ENABLED=0 go build -o $(BIN_DIR)/$(BIN_PROXY)-$(PLATFORM)-$(GOARCH) ${LDFLAGS} ${PKG_PROXY} \
))

build_all: format vet
$(foreach GOARCH, $(ARCHITECTURES),\
Expand All @@ -105,10 +105,6 @@ build_all: format vet
$(shell export GOARCH=$(GOARCH);\
CGO_ENABLED=0 go build -o $(BIN_DIR)/$(BIN_RUN)-$(PLATFORM)-$(GOARCH) ${LDFLAGS} ${PKG_RUN} \
))
$(foreach GOARCH, $(ARCHITECTURES),\
$(shell export GOARCH=$(GOARCH);\
CGO_ENABLED=0 go build -o $(BIN_DIR)/$(BIN_LOADER)-$(PLATFORM)-$(GOARCH) ${LDFLAGS} ${PKG_LOADER} \
))

push_kinesis_docker: build_all
$(foreach GOARCH, $(ARCHITECTURES),\
Expand Down

0 comments on commit 978119a

Please sign in to comment.