From 318ea05c610751bba290763ffb6febc4b0960a63 Mon Sep 17 00:00:00 2001 From: Anders Janmyr Date: Mon, 6 Apr 2015 22:28:55 +0200 Subject: [PATCH] Added support for building mulitple architectures --- .gitignore | 1 + Makefile | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 Makefile diff --git a/.gitignore b/.gitignore index 60c5912..8d16609 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ goose tmp/ +dist/ diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a545c21 --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ + +build: + GOOS=windows GOARCH=386 go build -o dist/goose.exe + GOOS=darwin GOARCH=amd64 go build -o dist/goose-osx + GOOS=linux GOARCH=amd64 go build -o dist/goose-linux