|
@@ -70,6 +70,11 @@
|
|
"symfony/phpunit-bridge": "^3.0"
|
|
"symfony/phpunit-bridge": "^3.0"
|
|
},
|
|
},
|
|
"scripts": {
|
|
"scripts": {
|
|
|
|
+ "workflows-commands": [
|
|
|
|
+ "chown -Rf www-data:www-data app/Resources/workflows",
|
|
|
|
+ "cp -n app/Resources/workflows/workflow_list.yml.dist app/Resources/workflows/workflow_list.yml",
|
|
|
|
+ "chown -Rf www-data:www-data app/Resources/workflows/workflow_list.yml"
|
|
|
|
+ ],
|
|
"symfony-scripts": [
|
|
"symfony-scripts": [
|
|
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
|
|
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
|
|
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
|
|
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
|
|
@@ -78,14 +83,17 @@
|
|
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
|
|
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
|
|
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
|
|
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
|
|
],
|
|
],
|
|
|
|
+ "chmod-dir-cache-sessions-logs":"chmod 777 -R var/cache var/logs var/sessions",
|
|
"post-install-cmd": [
|
|
"post-install-cmd": [
|
|
- "@symfony-scripts"
|
|
|
|
|
|
+ "@workflows-commands",
|
|
|
|
+ "@symfony-scripts",
|
|
|
|
+ "@chmod-dir-cache-sessions-logs"
|
|
],
|
|
],
|
|
"post-update-cmd": [
|
|
"post-update-cmd": [
|
|
- "@symfony-scripts"
|
|
|
|
- ],
|
|
|
|
- "apache-permissions-workflow-dir":"chown -Rf www-data:www-data app/Resources/workflows",
|
|
|
|
- "chmod-dir-cache-sessions-logs":"chmod 777 -R var/cache var/logs var/sessions"
|
|
|
|
|
|
+ "@workflows-commands",
|
|
|
|
+ "@symfony-scripts",
|
|
|
|
+ "@chmod-dir-cache-sessions-logs"
|
|
|
|
+ ]
|
|
},
|
|
},
|
|
"extra": {
|
|
"extra": {
|
|
"symfony-app-dir": "app",
|
|
"symfony-app-dir": "app",
|