mal-importer/Makefile

16 lines
266 B
Makefile
Raw Normal View History

2018-12-03 12:29:17 +01:00
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