mtgbot/Makefile
2019-01-03 15:58:32 +08:00

10 lines
187 B
Makefile

.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