From 3b811ae823419fbbe2011168ebd9d1b8b0fa56ee Mon Sep 17 00:00:00 2001 From: lanyulei Date: Sat, 10 Apr 2021 16:11:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=8C=E5=96=84build.sh=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index ac79190..e105c48 100644 --- a/build.sh +++ b/build.sh @@ -242,7 +242,7 @@ function install_front { echo_green "\n>>> $(gettext '开始安装前端依赖...')" cnpm_base_dir=$(dirname $(dirname $(which npm))) npm install -g cnpm --registry=https://registry.npm.taobao.org --prefix ${cnpm_base_dir} - cd ferry_web && cnpm install && npm run build:prod && cp -r web ../build/template + cd ferry_web && cnpm install && npm run build:prod && cp -r web ../build/template && cp -r web/static/* ../build/static/ }