16 lines
266 B
Makefile
16 lines
266 B
Makefile
compile: generate clean build
|
|
|
|
generate:
|
|
@printf "Generating code\n"
|
|
@go generate ./...
|
|
|
|
VERSION = $(shell git describe --always --abbrev=40 --dirty)
|
|
|
|
build:
|
|
@printf "Compiling\n"
|
|
@mkdir bin/ &> /dev/null || exit 0
|
|
@go build
|
|
@printf "\n"
|
|
|
|
clean:
|
|
@rm -fr ./bin
|