fixed templating
This commit is contained in:
parent
e077d0484b
commit
c5e839e13e
9 changed files with 168 additions and 91 deletions
16
Makefile
Normal file
16
Makefile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue