mirror of
https://github.com/msojocs/wx-compiler.git
synced 2025-07-19 00:00:04 +08:00
11 lines
364 B
Bash
Executable File
11 lines
364 B
Bash
Executable File
export npm_config_target=0.55.0
|
|
# Setup build architecture, ia32 or x64
|
|
export npm_config_arch=x64
|
|
export npm_config_target_arch=x64
|
|
# Setup env for modules built with node-pre-gyp
|
|
export npm_config_runtime=node-webkit
|
|
export npm_config_build_from_source=true
|
|
# Setup nw-gyp as node-gyp
|
|
export npm_config_node_gyp=$(which nw-gyp)
|
|
nw-gyp rebuild --loglevel verbose
|