fixed templating

This commit is contained in:
David Alasow 2018-12-03 12:29:17 +01:00
parent e077d0484b
commit c5e839e13e
9 changed files with 168 additions and 91 deletions

16
Makefile Normal file
View file

@ -0,0 +1,16 @@
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