Browse Source

change add_extension.sh to init submodules, in case the extension requires submodules (like visualeditor)

mw_32
Adrian Malacoda 2 months ago
parent
commit
72dced4c8d
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      scripts/add_extension.sh

+ 4
- 0
scripts/add_extension.sh View File

@@ -17,6 +17,10 @@ if [[ "${EXT_VERSION}" ]]; then
git checkout -b "${EXT_VERSION}" "origin/${EXT_VERSION}"
fi

if [[ -e ".git" ]]; then
git submodule update --init
fi

if [[ -e "composer.json" ]]; then
composer install --no-dev
fi

Loading…
Cancel
Save