mirror of
https://github.com/certd/certd.git
synced 2025-11-25 09:10:11 +08:00
pref: 优化start.sh脚本
This commit is contained in:
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"
|
||||
|
||||
Reference in New Issue
Block a user