mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-10-14 23:00:27 +00:00
fix: fix build.sh (close #1026)
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
version=$(cat VERSION)
|
||||
themes=$(cat THEMES)
|
||||
IFS=$'\n'
|
||||
pwd
|
||||
|
||||
for theme in $themes; do
|
||||
while IFS= read -r theme; do
|
||||
echo "Building theme: $theme"
|
||||
cd $theme
|
||||
cd "$theme"
|
||||
npm install
|
||||
DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$version npm run build
|
||||
cd ..
|
||||
done
|
||||
done < THEMES
|
||||
|
Reference in New Issue
Block a user