Skip to content

Commit

Permalink
Add composer plugin component recipe
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Fedurtsya <[email protected]>
  • Loading branch information
Sieg committed Oct 1, 2024
1 parent 782aacd commit 4fa2481
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
31 changes: 31 additions & 0 deletions component-composer-plugin/b-7.2.x-root.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash

SCRIPT_PATH=$(dirname ${BASH_SOURCE[0]})

cd $SCRIPT_PATH/../../../ || exit

# Prepare services configuration
make setup
make addbasicservices

# Configure containers
perl -pi\
-e 's#error_reporting = .*#error_reporting = E_ALL ^ E_WARNING ^ E_DEPRECATED#g;'\
containers/php/custom.ini

#perl -pi\
# -e 's#/var/www/#/var/www/source/#g;'\
# containers/httpd/project.conf
#
perl -pi\
-e 's#PHP_VERSION=.*#PHP_VERSION=8.2#g;'\
.env

mkdir source
docker compose up --build -d php

git clone https://github.com/OXID-eSales/oxideshop_composer_plugin ./source -b b-7.2.x

docker compose exec php composer update --no-interaction

make up
2 changes: 1 addition & 1 deletion module-gdpr-opt-in/b-7.2.x-root.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ perl -pi\
mkdir source
docker compose up --build -d php

git clone https://github.com/OXID-eSales/gdpr-optin-module ./source -b b-7.2.x-root-experiment
git clone https://github.com/OXID-eSales/gdpr-optin-module ./source -b b-7.2.x

$SCRIPT_PATH/../parts/shared/require_shop_edition_packages.sh -e"${edition}" -v"dev-b-7.2.x"
$SCRIPT_PATH/../parts/shared/require_twig_components.sh -e"${edition}" -b"b-7.2.x"
Expand Down

0 comments on commit 4fa2481

Please sign in to comment.