fastpastebin/vendor/github.com/pressly/goose/Makefile

10 lines
442 B
Makefile
Raw Normal View History

2019-10-13 13:55:38 +05:00
.PHONY: dist
2018-04-30 18:42:17 +05:00
dist:
@mkdir -p ./bin
@rm -f ./bin/*
2019-10-13 13:55:38 +05:00
GOOS=darwin GOARCH=amd64 go build -o ./bin/goose-darwin64 ./cmd/goose
GOOS=linux GOARCH=amd64 go build -o ./bin/goose-linux64 ./cmd/goose
GOOS=linux GOARCH=386 go build -o ./bin/goose-linux386 ./cmd/goose
GOOS=windows GOARCH=amd64 go build -o ./bin/goose-windows64.exe ./cmd/goose
GOOS=windows GOARCH=386 go build -o ./bin/goose-windows386.exe ./cmd/goose