From 41156468a950b47d286a4e493d621c059b790a82 Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Tue, 29 Sep 2015 09:39:44 +1000 Subject: [PATCH] Added release task --- .gitignore | 2 ++ release.sh | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100755 release.sh diff --git a/.gitignore b/.gitignore index b6c11e22..d392187e 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,8 @@ # Folders _obj _test +build +.DS_Store # Architecture specific extensions/prefixes *.[568vq] diff --git a/release.sh b/release.sh new file mode 100755 index 00000000..db6fe349 --- /dev/null +++ b/release.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# This assumes that gonative and gox is installed as per the 'one time setup' instructions +# at https://github.com/inconshreveable/gonative + +gox -output="build/{{.Dir}}_{{.OS}}_{{.Arch}}" +