Commit 986284b9 by Mithgol the Webmaster

correct sources of nwjs downloads and perform x64 builds on AppVeyor

parent 6e564fba
...@@ -9,7 +9,6 @@ environment: ...@@ -9,7 +9,6 @@ environment:
platform: x86 platform: x86
msvs_toolset: 12 msvs_toolset: 12
- nodejs_version: 0.10.36 - nodejs_version: 0.10.36
nw_version: 0.8.6
platform: x64 platform: x64
msvs_toolset: 12 msvs_toolset: 12
- nodejs_version: 0.12.0 - nodejs_version: 0.12.0
...@@ -19,11 +18,11 @@ environment: ...@@ -19,11 +18,11 @@ environment:
platform: x64 platform: x64
msvs_toolset: 12 msvs_toolset: 12
- nodejs_version: 1.1.0 - nodejs_version: 1.1.0
nw_version: 0.12.0-alpha3 nwjs_version: 0.12.0-alpha3
platform: x86 platform: x86
msvs_toolset: 12 msvs_toolset: 12
- nodejs_version: 1.1.0 - nodejs_version: 1.1.0
nw_version: 0.12.0-alpha3 nwjs_version: 0.12.0-alpha3
platform: x64 platform: x64
msvs_toolset: 12 msvs_toolset: 12
# custom visual studio 2014 builds # custom visual studio 2014 builds
......
echo Platform: %1 echo Platform: %1
echo The list of environment variables: echo The list of environment variables:
set set
if not "%nwjs_version%" == "" goto nwjs
if not "%1" == "x86" goto end if not "%1" == "x86" goto end
if "%nw_version%" == "" goto end if "%nw_version%" == "" goto end
call npm install nw-gyp call npm install nw-gyp
call cinst wget 7zip.commandline call cinst wget 7zip.commandline
call wget http://dl.node-webkit.org/v%nw_version%/node-webkit-v%nw_version%-win-ia32.zip call wget http://dl.nwjs.io/v%nw_version%/node-webkit-v%nw_version%-win-ia32.zip
call 7z e -onw node-webkit-v%nw_version%-win-ia32.zip call 7z e -onw node-webkit-v%nw_version%-win-ia32.zip
dir nw dir nw
set PATH=nw;%PATH% set PATH=nw;%PATH%
call node-pre-gyp rebuild --runtime=node-webkit --target=%nw_version% --target_arch=ia32 call node-pre-gyp rebuild --runtime=node-webkit --target=%nw_version% --target_arch=ia32
call node-pre-gyp package testpackage --runtime=node-webkit --target=%nw_version% --target_arch=ia32 call node-pre-gyp package testpackage --runtime=node-webkit --target=%nw_version% --target_arch=ia32
if not "%CM%" == "%CM:[publish binary]=%" call node-pre-gyp publish --msvs_version=2013 --runtime=node-webkit --target=%nw_version% --target_arch=ia32 if not "%CM%" == "%CM:[publish binary]=%" call node-pre-gyp publish --msvs_version=2013 --runtime=node-webkit --target=%nw_version% --target_arch=ia32
goto end
:nwjs
if not "%1" == "x86" goto nwjs_64
call npm install nw-gyp
call cinst wget 7zip.commandline
call wget http://dl.nwjs.io/v%nwjs_version%/nwjs-v%nwjs_version%-win-ia32.zip
call 7z e -onw nwjs-v%nwjs_version%-win-ia32.zip
dir nw
set PATH=nw;%PATH%
call node-pre-gyp rebuild --runtime=node-webkit --target=%nwjs_version% --target_arch=ia32
call node-pre-gyp package testpackage --runtime=node-webkit --target=%nwjs_version% --target_arch=ia32
if not "%CM%" == "%CM:[publish binary]=%" call node-pre-gyp publish --msvs_version=2013 --runtime=node-webkit --target=%nwjs_version% --target_arch=ia32
goto end
:nwjs_64
call npm install nw-gyp
call cinst wget 7zip.commandline
call wget http://dl.nwjs.io/v%nwjs_version%/nwjs-v%nwjs_version%-win-x64.zip
call 7z e -onw nwjs-v%nwjs_version%-win-x64.zip
dir nw
set PATH=nw;%PATH%
call node-pre-gyp rebuild --runtime=node-webkit --target=%nwjs_version% --target_arch=x64
call node-pre-gyp package testpackage --runtime=node-webkit --target=%nwjs_version% --target_arch=x64
if not "%CM%" == "%CM:[publish binary]=%" call node-pre-gyp publish --msvs_version=2013 --runtime=node-webkit --target=%nwjs_version% --target_arch=x64
goto end
:end :end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment