2022-01-28 22:14:14 +08:00
|
|
|
#!/bin/bash
|
|
|
|
if [ -z "$(ls | grep CONTRIBUTING.md)" ]; then
|
|
|
|
echo "Please run the script from repo directory"
|
|
|
|
exit -1
|
|
|
|
else
|
|
|
|
echo "Building the frontend"
|
2022-02-11 03:22:22 +08:00
|
|
|
cd ui
|
|
|
|
pnpm i --frozen-lockfile
|
|
|
|
pnpm build
|
2022-01-28 22:14:14 +08:00
|
|
|
fi
|