mtfosbot/Makefile

11 lines
253 B
Makefile
Raw Permalink Normal View History

.PHONY: clean build
build:
2019-05-28 03:25:45 +00:00
GO111MODULE=off go get -u github.com/otakukaze/go-bindata/...
go-bindata -pkg schema -ignore .git -o module/schema/static.go schema/
2018-12-12 09:00:49 +00:00
GOOS=linux go build -o mtfosbot -ldflags "-s -w" .
clean:
2018-12-12 09:00:49 +00:00
rm -rf mtfosbot && go clean