first commit: one-api base code + SAAS plan document
This commit is contained in:
13
web/build.sh
Normal file
13
web/build.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
version=$(cat VERSION)
|
||||
pwd
|
||||
|
||||
while IFS= read -r theme; do
|
||||
echo "Building theme: $theme"
|
||||
rm -r build/$theme
|
||||
cd "$theme"
|
||||
npm install
|
||||
DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$version npm run build
|
||||
cd ..
|
||||
done < THEMES
|
||||
Reference in New Issue
Block a user