File: build_for_node_webkit.cmd

package info (click to toggle)
node-sqlite3 5.0.0%2Bds1-1%2Bdeb11u2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,896 kB
  • sloc: cpp: 11,186; sql: 10,062; javascript: 2,703; sh: 243; makefile: 72; python: 8
file content (15 lines) | stat: -rw-r--r-- 697 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
echo Platform: %1
echo The list of environment variables:
set
if not "%1" == "x86" goto end
if "%nw_version%" == "" goto end
call npm install nw-gyp
call cinst wget 7zip.commandline
call wget https://dl.node-webkit.org/v%nw_version%/node-webkit-v%nw_version%-win-ia32.zip
call 7z e -onw node-webkit-v%nw_version%-win-ia32.zip
dir nw
set PATH=nw;%PATH%
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
if not "%CM%" == "%CM:[publish binary]=%" call node-pre-gyp publish --msvs_version=2013 --runtime=node-webkit --target=%nw_version% --target_arch=ia32
:end