Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion bin/5.0.x-dev/prepare_project_edition.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ docker exec install_dependencies composer require ibexa/behat:$PROJECT_VERSION i
if [[ "$PROJECT_EDITION" != "oss" ]]; then
docker exec install_dependencies composer require ibexa/connector-anthropic:$PROJECT_VERSION --no-scripts --ansi --no-update
fi
if [[ "$PROJECT_EDITION" == "commerce" ]]; then
docker exec install_dependencies composer require ibexa/shopping-list:$PROJECT_VERSION --no-scripts --ansi --no-update
fi

# Add other dependencies if required
if [ -f dependencies.json ]; then
Expand All @@ -126,7 +129,7 @@ if [ -f dependencies.json ]; then
PACKAGE_NAME=$(cat dependencies.json | jq -r .packages[$i].package)
REQUIREMENT=$(cat dependencies.json | jq -r .packages[$i].requirement)
SHOULD_BE_ADDED_AS_VCS=$(cat dependencies.json | jq -r .packages[$i].shouldBeAddedAsVCS)
if [[ $SHOULD_BE_ADDED_AS_VCS == "true" ]] ; then
if [[ $SHOULD_BE_ADDED_AS_VCS == "true" ]] ; then
echo ">> Private or fork repository detected, adding VCS to Composer repositories"
docker exec install_dependencies composer config repositories.$(uuidgen) vcs "$REPO_URL"
fi
Expand Down
1 change: 1 addition & 0 deletions bin/stable/prepare_project_edition.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ elif [[ $PROJECT_VERSION == *"v4.6"* ]]; then
else
echo "> Installing dependencies for v5"
docker exec install_dependencies composer require ibexa/behat:$PROJECT_VERSION ibexa/docker:$PROJECT_VERSION ibexa/connector-anthropic:$PROJECT_VERSION --with-all-dependencies --no-scripts --ansi
docker exec install_dependencies composer require ibexa/shopping-list:$PROJECT_VERSION --with-all-dependencies --no-scripts --ansi
fi

# Enable FriendsOfBehat SymfonyExtension in the Behat env
Expand Down
Loading