mtfosbot/Makefile
2019-05-28 11:25:45 +08:00

11 lines
253 B
Makefile

.PHONY: clean build
build:
GO111MODULE=off go get -u github.com/otakukaze/go-bindata/...
go-bindata -pkg schema -ignore .git -o module/schema/static.go schema/
GOOS=linux go build -o mtfosbot -ldflags "-s -w" .
clean:
rm -rf mtfosbot && go clean