Test of post install script

This commit is contained in:
Simon Vieille 2018-06-25 16:24:23 +02:00
parent e74a87a131
commit 2584014d78
No known key found for this signature in database
GPG Key ID: 919533E2B946EA10
2 changed files with 14 additions and 3 deletions

View File

@ -15,6 +15,17 @@
"guzzlehttp/guzzle": "~6.0", "guzzlehttp/guzzle": "~6.0",
"symfony/security": "^2.7" "symfony/security": "^2.7"
}, },
"scripts": {
"gist-scripts": [
"Gist\\Composer\\PostInstallHandler::execute"
],
"post-install-cmd": [
"@gist-scripts"
],
"post-update-cmd": [
"@gist-scripts"
]
},
"autoload": { "autoload": {
"psr-0": { "psr-0": {
"": "src/" "": "src/"

View File

@ -4,9 +4,9 @@ propel:
default: default:
adapter: mysql adapter: mysql
classname: Propel\Runtime\Connection\ConnectionWrapper classname: Propel\Runtime\Connection\ConnectionWrapper
dsn: "mysql:host=localhost;dbname=gist" dsn: "mysql:host=DATABASE_HOST;dbname=DATABASE_NAME"
user: root user: "DATABASE_USER"
password: root password: "DATABASE_PASSWORD"
settings: settings:
charset: utf8 charset: utf8
queries: queries: