mtgbot/Makefile

10 lines
187 B
Makefile
Raw Permalink Normal View History

2018-12-24 09:34:24 +00:00
.PHONY: clean build
build:
go-bindata -pkg schema -ignore .git -o modules/schema/static.go schema/
GOOS=linux go build -o mtgbot -ldflags "-s -w" .
clean:
rm -rf mtgbot && go clean