mal-importer/Makefile
2018-12-03 12:29:17 +01:00

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