From 3491029e618f9c1a094d6fd9afff6a4c08d8278a Mon Sep 17 00:00:00 2001 From: Cameron Sparr Date: Mon, 22 Feb 2016 15:12:35 -0700 Subject: [PATCH] Some windows build script fixes --- scripts/build.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/build.py b/scripts/build.py index b25b44982..9aca120cd 100755 --- a/scripts/build.py +++ b/scripts/build.py @@ -70,7 +70,7 @@ targets = { supported_builds = { 'darwin': [ "amd64", "i386" ], - 'windows': [ "amd64", "i386", "arm" ], + 'windows': [ "amd64", "i386" ], 'linux': [ "amd64", "i386", "arm" ] } supported_packages = { @@ -287,6 +287,8 @@ def build(version=None, print("Starting build...") for b, c in targets.items(): + if platform == 'windows': + b = b + '.exe' print("\t- Building '{}'...".format(os.path.join(outdir, b))) build_command = "" build_command += "GOOS={} GOARCH={} ".format(platform, arch)