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