Skip to content
Snippets Groups Projects
Commit 09b1babd authored by Markin Igor's avatar Markin Igor
Browse files

Remove binary building stage from Makefile.

parent 1d076ae8
No related branches found
No related tags found
1 merge request!4Use webpack for bundling JS libs and move Golang code related to Iframe generation there
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}'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment