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

17 lines
271 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/ant-design-examples.git ~tmpProj --depth=1
2023-03-15 10:51:14 +08:00
# change directory
cd ~tmpProj/examples/with-nextjs-inline-style
# install dependencies
yarn
2023-03-15 10:51:14 +08:00
# build
yarn run build