ant-design/scripts/ci-mock-project-build.sh

17 lines
238 B
Bash
Raw Normal View History

2023-03-15 10:51:14 +08:00
# Create a umi project
# clean up
rm -rf ~tmpProj/
# clone project
git clone https://github.com/ant-design/create-next-app-antd.git ~tmpProj --depth=1
2023-03-15 10:51:14 +08:00
# change directory
2023-03-15 10:51:14 +08:00
cd ~tmpProj
# install dependencies
yarn
2023-03-15 10:51:14 +08:00
# build
yarn run build