2 Star 0 Fork 2

Neil-鹏 / rust-tools

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
build.sh 595 Bytes
Copy Edit Web IDE Raw Blame History
shaipe authored 2019-07-12 22:19 . add tts and deployer project
#!/bin/bash
echo "start build react ..."
# 使用webpack对项目进行打包发布
# yarn build
# copy ./build/
# exit 1
# 将打包的build目录进行压缩
echo "build react end, start zip ..."
zip -q -r build.zip ./build/
# 拷贝压缩文件到本地测试目录
cp build.zip ~/dist/kide
# 删除打包的临时文件
rm -f build.zip
if [ $1 == "local" ];
then
echo "begin local deploy ..."
# 进入本地测试目录并进行解压和处理
cd ~/dist/kide
unzip build.zip
mv build www
echo "build and local deploy end ."
else
echo "build end ."
fi

Comment ( 0 )

Sign in for post a comment

Rust
1
https://gitee.com/shaipe/rust-tools.git
git@gitee.com:shaipe/rust-tools.git
shaipe
rust-tools
rust-tools
master

Search