diff --git a/Makefile b/Makefile index d880bc8..8bbe708 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ SRC_DIR=$(ROOT_DIR)/cmd BIN=$(ROOT_DIR)/wa-profile-api GO_VERSION=$(shell go version | sed -e 's/go version //') -build: deps fmt swagger ## Build the app +build: swagger deps fmt ## Build the app @echo "==> Building for prod with ${GO_VERSION}" @cd $(SRC_DIR) && CGO_ENABLED=0 go build -buildvcs=false -tags=release -o $(BIN) . @echo $(BIN)