Skip to content

Commit

Permalink
clean up makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Liam Stanley <[email protected]>
  • Loading branch information
lrstanley committed Apr 10, 2022
1 parent e523087 commit bbc9ea2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN apk add --no-cache g++ make
COPY . /build/
COPY --from=build-node /build/public/dist/ /build/public/dist/
WORKDIR /build
RUN make fetch-go compile
RUN make build

# runtime image
FROM alpine:latest
Expand Down
9 changes: 0 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
.DEFAULT_GOAL := build

DIRS=bin
BINARY=geoip

VERSION=$(shell git describe --tags --always --abbrev=0 --match=v* 2> /dev/null | sed -r "s:^v::g" || echo 0)

$(info $(shell mkdir -p $(DIRS)))
BIN=$(CURDIR)/bin
export GOBIN=$(CURDIR)/bin


help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-16s\033[0m %s\n", $$1, $$2}'

Expand Down

0 comments on commit bbc9ea2

Please sign in to comment.