mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-22 00:00:04 +08:00
13 lines
342 B
Bash
Executable File
13 lines
342 B
Bash
Executable File
#!/bin/bash
|
|
|
|
root_dir=$(cd `dirname $0`/.. && pwd -P)
|
|
export PATH="$root_dir/node/bin:$PATH"
|
|
|
|
module="spdlog"
|
|
cd "$root_dir/tmp"
|
|
mkdir -p node_test/node_modules
|
|
cd node_test
|
|
npm install $module --save
|
|
rm -rf "$root_dir/package.nw/node_modules/$module"
|
|
cp -rf "$root_dir/tmp/node_test/node_modules/$module" "$root_dir/package.nw/node_modules"
|