Commit 6d9b6039 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Déplacement des commandes d' vers composer.json

parent 0d6fe293
Pipeline #8826 failed with stage
in 9 seconds
......@@ -57,6 +57,16 @@
"development-enable": "zf-development-mode enable",
"development-status": "zf-development-mode status",
"serve": "php -S -t public/ public/index.php",
"test": "phpunit"
"test": "phpunit",
"post-install-cmd": [
"mkdir -p data/cache && chmod -R 777 data/cache && rm -rf data/cache/*",
"mkdir -p data/DoctrineModule/cache && chmod -R 777 data/DoctrineModule/cache && rm -rf data/DoctrineModule/cache/*",
"mkdir -p data/DoctrineORMModule/Proxy && chmod -R 777 data/DoctrineORMModule/Proxy && rm -rf data/DoctrineORMModule/Proxy/*",
"vendor/bin/doctrine-module orm:clear-cache:query &",
"vendor/bin/doctrine-module orm:clear-cache:metadata &",
"vendor/bin/doctrine-module orm:clear-cache:result &",
"vendor/bin/doctrine-module orm:generate-proxies &"
......@@ -10,17 +10,3 @@ composer install --no-dev --no-suggest --optimize-autoloader
# Désactivation de l'interface d'admin Apigility
composer development-disable
# Répertoires de travail de Doctrine
mkdir -p data/cache && chmod -R 777 data/cache
mkdir -p data/DoctrineModule/cache && chmod -R 777 data/DoctrineModule/cache
mkdir -p data/DoctrineORMModule/Proxy && chmod -R 777 data/DoctrineORMModule/Proxy
rm -rf data/cache/*
rm -rf data/DoctrineModule/cache/*
rm -rf data/DoctrineORMModule/Proxy/*
# Commandes Doctrine
vendor/bin/doctrine-module orm:clear-cache:query
vendor/bin/doctrine-module orm:clear-cache:metadata
vendor/bin/doctrine-module orm:clear-cache:result
vendor/bin/doctrine-module orm:generate-proxies
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment