diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..31f70e2 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +## Usage: + +go_files := $(wildcard cmd/*.go) +path := $(shell pwd) + +all: clean build + +clean: + @-rm -rf ./build + +build: + @-mkdir ./build + go build -v -ldflags="-s -w" -o build/certificateapi ${go_files} + @file certificateapi