From 09b1babd8c10cfd5971789dd9031dc7e852fb793 Mon Sep 17 00:00:00 2001 From: Markin Igor <markin.io210@gmail.com> Date: Tue, 6 Nov 2018 10:27:19 +0300 Subject: [PATCH] Remove binary building stage from Makefile. --- Makefile | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/Makefile b/Makefile index 912ba74..abfe73c 100644 --- a/Makefile +++ b/Makefile @@ -1,22 +1,7 @@ -SERVER_OUT := "bin/server" -PKG := "code.vereign.com/code/vcl" -SERVER_PKG_BUILD := "${PKG}" -PKG_LIST := $(shell go list ${PKG}/... | grep -v /vendor/) - -.PHONY: all api server - -all: server - dep: ## Get the dependencies dep ensure cd javascript && yarn install && yarn build -server: dep ## Build the binary file for server - @go build -i -v -o $(SERVER_OUT) $(SERVER_PKG_BUILD) - -clean: ## Remove previous builds - @rm $(SERVER_OUT) - help: ## Display this help screen @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' -- GitLab