From cc217647674c005d2299666800db7e89654208c4 Mon Sep 17 00:00:00 2001 From: gaoqi <1224362143@qq.com> Date: Fri, 12 Jan 2024 19:27:26 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B5=8B=E8=AF=95yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/build.sh | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index f3ff421..a212c04 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,3 +1,17 @@ #!/bin/sh set -e -ENV = $1 \ No newline at end of file +ENV=$1 + +__build() { + echo "安装依赖" + yarn + echo "开始打包" + yarn build:$ENV + echo "打包完成" +} + +__main() { +__build +} + +__main \ No newline at end of file