mtfosbot/Makefile
Jay 01c9402eac
All checks were successful
continuous-integration/drone/push Build is passing
fix missing dep
2021-02-22 10:59:31 +08:00

11 lines
254 B
Makefile

.PHONY: clean build
build:
GO111MODULE=off go get -u github.com/go-bindata/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