Add `make dist'

pull/15/head
Vojtech Vitek 2016-12-09 13:02:01 -05:00
parent d6e8fe0292
commit 0498aed91f
1 changed files with 7 additions and 0 deletions

7
Makefile Normal file
View File

@ -0,0 +1,7 @@
dist:
@mkdir -p ./bin
@rm -f ./bin/*
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