|
|
@ -18,7 +18,6 @@ function wovn_start() { |
|
|
|
) |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function _start_branch() { |
|
|
|
function _start_branch() { |
|
|
|
branch=${1:?} |
|
|
|
branch=${1:?} |
|
|
|
branch=${branch#feature/} |
|
|
|
branch=${branch#feature/} |
|
|
@ -57,6 +56,7 @@ function get_remote_branch_name() { |
|
|
|
|
|
|
|
|
|
|
|
function wovn_update() { |
|
|
|
function wovn_update() { |
|
|
|
( |
|
|
|
( |
|
|
|
|
|
|
|
cd "$(git rev-parse --show-toplevel)" |
|
|
|
# set -o errexit # Can't do this inside a function |
|
|
|
# set -o errexit # Can't do this inside a function |
|
|
|
set -o nounset |
|
|
|
set -o nounset |
|
|
|
set -o pipefail |
|
|
|
set -o pipefail |
|
|
@ -73,26 +73,27 @@ function wovn_update() { |
|
|
|
|
|
|
|
|
|
|
|
function wovn_install() { |
|
|
|
function wovn_install() { |
|
|
|
( |
|
|
|
( |
|
|
|
|
|
|
|
cd "$(git rev-parse --show-toplevel)" |
|
|
|
# set -o errexit # Can't do this inside a function |
|
|
|
# set -o errexit # Can't do this inside a function |
|
|
|
set -o nounset |
|
|
|
set -o nounset |
|
|
|
set -o pipefail |
|
|
|
set -o pipefail |
|
|
|
if ! bundle check >/dev/null; then |
|
|
|
if ! bundle check >&/dev/null; then |
|
|
|
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 --non-interactive --silent 2>/dev/null; then |
|
|
|
if ! yarn install --offline --check-files --no-progress --ignore-optional --non-interactive --silent >&/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 --non-interactive --silent 2>/dev/null; then |
|
|
|
if ! yarn install --offline --check-files --no-progress --ignore-optional --non-interactive --silent >&/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 --non-interactive --silent 2>/dev/null; then |
|
|
|
if ! yarn install --offline --check-files --no-progress --ignore-optional --non-interactive --silent >&/dev/null; then |
|
|
|
printf "=== Installing Javascript dependencies in front...\n" |
|
|
|
printf "=== Installing Javascript dependencies in front...\n" |
|
|
|
yarn install |
|
|
|
yarn install |
|
|
|
fi |
|
|
|
fi |
|
|
|