make dist: Use vendor/ directory too

pull/155/head
Vojtech Vitek 2019-03-05 23:52:37 -05:00
parent f85fa0892b
commit 4519e77103
1 changed files with 5 additions and 5 deletions

View File

@ -2,11 +2,11 @@
dist:
@mkdir -p ./bin
@rm -f ./bin/*
GOOS=darwin GOARCH=amd64 GO111MODULE=on go build -o ./bin/goose-darwin64 ./cmd/goose
GOOS=linux GOARCH=amd64 GO111MODULE=on go build -o ./bin/goose-linux64 ./cmd/goose
GOOS=linux GOARCH=386 GO111MODULE=on go build -o ./bin/goose-linux386 ./cmd/goose
GOOS=windows GOARCH=amd64 GO111MODULE=on go build -o ./bin/goose-windows64.exe ./cmd/goose
GOOS=windows GOARCH=386 GO111MODULE=on go build -o ./bin/goose-windows386.exe ./cmd/goose
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
.PHONY: vendor
vendor: