Commit 4b3b486e by Mithgol

unset `nw_version` on x64, `npm install nw-gyp`, build, test, publish

parent e680ecf4
...@@ -30,12 +30,17 @@ install: ...@@ -30,12 +30,17 @@ 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 "%PLATFORM%" == "x86" if not "%nw_version%" == "" node-pre-gyp clean - cmd: if not "%PLATFORM%" == "x86" set nw_version=
- if "%PLATFORM%" == "x86" if not "%nw_version%" == "" cinst wget 7zip.commandline - if not "%nw_version%" == "" node-pre-gyp clean
- if "%PLATFORM%" == "x86" if not "%nw_version%" == "" wget http://dl.node-webkit.org/v%nw_version%/node-webkit-v%nw_version%-win-ia32.zip - if not "%nw_version%" == "" npm install nw-gyp
- if "%PLATFORM%" == "x86" if not "%nw_version%" == "" 7z e -onw node-webkit-v%nw_version%-win-ia32.zip - if not "%nw_version%" == "" cinst wget 7zip.commandline
- if "%PLATFORM%" == "x86" if not "%nw_version%" == "" dir nw - if not "%nw_version%" == "" wget http://dl.node-webkit.org/v%nw_version%/node-webkit-v%nw_version%-win-ia32.zip
- if "%PLATFORM%" == "x86" if not "%nw_version%" == "" set PATH=nw;%PATH% - if not "%nw_version%" == "" 7z e -onw node-webkit-v%nw_version%-win-ia32.zip
- if not "%nw_version%" == "" dir nw
- if not "%nw_version%" == "" set PATH=nw;%PATH%
- if not "%nw_version%" == "" npm install --build-from-source --msvs_version=2013 --runtime=node-webkit --target=%nw_version% --target_arch=ia32
- if not "%nw_version%" == "" node-pre-gyp package testpackage --runtime=node-webkit --target=%nw_version% --target_arch=ia32
- if not "%nw_version%" == "" if not "%CM%" == "%CM:[publish binary]=%" node-pre-gyp publish --msvs_version=2013 --runtime=node-webkit --target=%nw_version% --target_arch=ia32
build: OFF build: OFF
test: OFF test: OFF
......
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