|
|
@ -66,7 +66,7 @@ function wovn_update() { |
|
|
|
git pull --rebase || exit "$?" |
|
|
|
git pull --rebase || exit "$?" |
|
|
|
fi |
|
|
|
fi |
|
|
|
git rebase develop_front || exit "$?" |
|
|
|
git rebase develop_front || exit "$?" |
|
|
|
printf "=== Updating the dependencies...\n" |
|
|
|
printf "=== Checking dependencies...\n" |
|
|
|
wovn_install |
|
|
|
wovn_install |
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
@ -80,19 +80,19 @@ function wovn_install() { |
|
|
|
printf "=== Installing Ruby dependencies...\n" |
|
|
|
printf "=== Installing Ruby dependencies...\n" |
|
|
|
bundle install || exit "$?" |
|
|
|
bundle install || exit "$?" |
|
|
|
fi |
|
|
|
fi |
|
|
|
if ! yarn install --offline --check-files --no-progress --ignore-optional --silent; then |
|
|
|
if ! yarn install --offline --check-files --no-progress --ignore-optional --non-interactive --silent 2>/dev/null; then |
|
|
|
printf "=== Installing Javascript dependencies in top level...\n" |
|
|
|
printf "=== Installing Javascript dependencies in top level...\n" |
|
|
|
yarn install || exit "$?" |
|
|
|
yarn install || exit "$?" |
|
|
|
fi |
|
|
|
fi |
|
|
|
cd widget || exit "$?" |
|
|
|
cd widget || exit "$?" |
|
|
|
if ! yarn install --offline --check-files --no-progress --ignore-optional --silent; then |
|
|
|
if ! yarn install --offline --check-files --no-progress --ignore-optional --non-interactive --silent 2>/dev/null; then |
|
|
|
printf "=== Installing Javascript dependencies in widget...\n" |
|
|
|
printf "=== Installing Javascript dependencies in widget...\n" |
|
|
|
yarn install || exit "$?" |
|
|
|
yarn install || exit "$?" |
|
|
|
yarn build || exit "$?" |
|
|
|
yarn build || exit "$?" |
|
|
|
fi |
|
|
|
fi |
|
|
|
cd .. || exit "$?" |
|
|
|
cd .. || exit "$?" |
|
|
|
cd front || exit "$?" |
|
|
|
cd front || exit "$?" |
|
|
|
if ! yarn install --offline --check-files --no-progress --ignore-optional --silent; then |
|
|
|
if ! yarn install --offline --check-files --no-progress --ignore-optional --non-interactive --silent 2>/dev/null; then |
|
|
|
printf "=== Installing Javascript dependencies in front...\n" |
|
|
|
printf "=== Installing Javascript dependencies in front...\n" |
|
|
|
yarn install |
|
|
|
yarn install |
|
|
|
fi |
|
|
|
fi |
|
|
|