master
parent
11df3579df
commit
2ea2942788
2 changed files with 10 additions and 0 deletions
@ -0,0 +1,10 @@ |
|||||||
|
#!/bin/bash |
||||||
|
# 目标目录 |
||||||
|
cd ../../../qry-python-js |
||||||
|
# 切换node环境 |
||||||
|
source /usr/share/nvm/init-nvm.sh; |
||||||
|
nvm use v20.12.2 |
||||||
|
rm -r node_modules |
||||||
|
npm install --registry=https://registry.npmmirror.com |
||||||
|
# 执行打包 |
||||||
|
tar -cvzf ../qry-python-js.tar.gz --exclude='.git' --exclude='docs' --exclude='dict' --exclude='node_modules' --exclude='.idea' * |
Loading…
Reference in new issue