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