mirror of https://github.com/bjdgyc/anylink.git
更新build脚本
This commit is contained in:
parent
1611f795d1
commit
b0ff8ba1be
4
build.sh
4
build.sh
|
@ -15,10 +15,10 @@ cpath=$(pwd)
|
||||||
echo "编译前端项目"
|
echo "编译前端项目"
|
||||||
cd $cpath/web
|
cd $cpath/web
|
||||||
#国内可替换源加快速度
|
#国内可替换源加快速度
|
||||||
|
npx browserslist@latest --update-db
|
||||||
npm install --registry=https://registry.npm.taobao.org
|
npm install --registry=https://registry.npm.taobao.org
|
||||||
npm run build --registry=https://registry.npm.taobao.org
|
|
||||||
#npm install
|
#npm install
|
||||||
#npm run build
|
npm run build
|
||||||
RETVAL $?
|
RETVAL $?
|
||||||
|
|
||||||
echo "编译二进制文件"
|
echo "编译二进制文件"
|
||||||
|
|
Loading…
Reference in New Issue