Commit 5adb8757 by Mithgol the Webmaster

move more logic `appveyor.yml` → `scripts\build_for_node_webkit.cmd`

parent c03a0ebc
...@@ -30,8 +30,7 @@ install: ...@@ -30,8 +30,7 @@ install:
# make commit message env var shorter # make commit message env var shorter
- SET CM=%APPVEYOR_REPO_COMMIT_MESSAGE% - SET CM=%APPVEYOR_REPO_COMMIT_MESSAGE%
- if not "%CM%" == "%CM:[publish binary]=%" node-pre-gyp --msvs_version=2013 publish - if not "%CM%" == "%CM:[publish binary]=%" node-pre-gyp --msvs_version=2013 publish
- if not "%PLATFORM%" == "x86" set nw_version= - call scripts\build_for_node_webkit.cmd
- if not "%nw_version%" == "" call scripts\build_for_node_webkit.cmd
build: OFF build: OFF
test: OFF test: OFF
......
if not "%PLATFORM%" == "x86" goto end
if "%nw_version%" == "" goto end
node-pre-gyp clean node-pre-gyp clean
npm install nw-gyp npm install nw-gyp
cinst wget 7zip.commandline cinst wget 7zip.commandline
...@@ -7,3 +9,4 @@ dir nw ...@@ -7,3 +9,4 @@ dir nw
set PATH=nw;%PATH% set PATH=nw;%PATH%
node-pre-gyp package testpackage --runtime=node-webkit --target=%nw_version% --target_arch=ia32 node-pre-gyp package testpackage --runtime=node-webkit --target=%nw_version% --target_arch=ia32
if not "%CM%" == "%CM:[publish binary]=%" node-pre-gyp publish --msvs_version=2013 --runtime=node-webkit --target=%nw_version% --target_arch=ia32 if not "%CM%" == "%CM:[publish binary]=%" node-pre-gyp publish --msvs_version=2013 --runtime=node-webkit --target=%nw_version% --target_arch=ia32
: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