Some windows build script fixes
This commit is contained in:
parent
ee1a324590
commit
3491029e61
|
@ -70,7 +70,7 @@ targets = {
|
||||||
|
|
||||||
supported_builds = {
|
supported_builds = {
|
||||||
'darwin': [ "amd64", "i386" ],
|
'darwin': [ "amd64", "i386" ],
|
||||||
'windows': [ "amd64", "i386", "arm" ],
|
'windows': [ "amd64", "i386" ],
|
||||||
'linux': [ "amd64", "i386", "arm" ]
|
'linux': [ "amd64", "i386", "arm" ]
|
||||||
}
|
}
|
||||||
supported_packages = {
|
supported_packages = {
|
||||||
|
@ -287,6 +287,8 @@ def build(version=None,
|
||||||
|
|
||||||
print("Starting build...")
|
print("Starting build...")
|
||||||
for b, c in targets.items():
|
for b, c in targets.items():
|
||||||
|
if platform == 'windows':
|
||||||
|
b = b + '.exe'
|
||||||
print("\t- Building '{}'...".format(os.path.join(outdir, b)))
|
print("\t- Building '{}'...".format(os.path.join(outdir, b)))
|
||||||
build_command = ""
|
build_command = ""
|
||||||
build_command += "GOOS={} GOARCH={} ".format(platform, arch)
|
build_command += "GOOS={} GOARCH={} ".format(platform, arch)
|
||||||
|
|
Loading…
Reference in New Issue