Some windows build script fixes

This commit is contained in:
Cameron Sparr 2016-02-22 15:12:35 -07:00
parent 2a6ff16819
commit 8362aa9d66
1 changed files with 3 additions and 1 deletions

View File

@ -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)