2018-09-20 12:35:04 +00:00
|
|
|
|
|
|
|
.PHONY: clean build
|
|
|
|
|
|
|
|
build:
|
2019-05-28 03:25:45 +00:00
|
|
|
GO111MODULE=off go get -u github.com/otakukaze/go-bindata/...
|
2018-09-20 12:35:04 +00:00
|
|
|
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" .
|
2018-09-20 12:35:04 +00:00
|
|
|
|
|
|
|
clean:
|
2018-12-12 09:00:49 +00:00
|
|
|
rm -rf mtfosbot && go clean
|