mirror of https://github.com/certd/certd
pref: 优化start.sh脚本
parent
aeed24e87d
commit
f66e6412af
6
start.sh
6
start.sh
|
@ -1,5 +1,5 @@
|
|||
|
||||
#
|
||||
set -e
|
||||
echo "即将删除packages下除ui之外的其他目录,按y确认"
|
||||
read -p "y/n: " confirm
|
||||
if [ $confirm != "y" ]; then
|
||||
|
@ -11,9 +11,9 @@ find ./packages -mindepth 1 -maxdepth 1 -type d ! -name 'ui' -exec rm -rf {} +
|
|||
echo "删除成功"
|
||||
|
||||
echo "安装pnpm 8.15.7, 前提是已经安装了nodejs"
|
||||
npm install -g pnpm@8.15.7
|
||||
npm install -g pnpm@8.15.7 --registry https://registry.npmmirror.com
|
||||
echo "安装依赖"
|
||||
pnpm install
|
||||
pnpm install --registry https://registry.npmmirror.com
|
||||
|
||||
echo "开始构建"
|
||||
echo "构建certd-client"
|
||||
|
|
Loading…
Reference in New Issue