remove bootstrap.php.cache and force re-generation on each install

This commit is contained in:
Julien Fastré 2017-06-20 16:47:24 +02:00
parent 8a00fbf4f9
commit 3ce6427166
2 changed files with 8 additions and 4 deletions

3
.gitignore vendored
View File

@ -4,4 +4,5 @@ Tests/Fixtures/App/app/DoctrineMigrations/*
Test/Fixtures/App/app/DoctrineMigrations/*
Test/Fixtures/App/app/cache/*
Test/Fixtures/App/app/config/parameters.yml
/nbproject/private/
/nbproject/private/
Test/Fixtures/App/app/bootstrap.php.cache

View File

@ -41,14 +41,17 @@
},
"scripts": {
"post-install-cmd": [
"ComposerBundleMigration\\Composer\\Migrations::synchronizeMigrations"
"ComposerBundleMigration\\Composer\\Migrations::synchronizeMigrations",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap"
],
"post-update-cmd": [
"ComposerBundleMigration\\Composer\\Migrations::synchronizeMigrations"
"ComposerBundleMigration\\Composer\\Migrations::synchronizeMigrations",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap"
]
},
"extra": {
"app-migrations-dir": "Test/Fixtures/App/app/DoctrineMigrations"
"app-migrations-dir": "Test/Fixtures/App/app/DoctrineMigrations",
"symfony-app-dir": "Test/Fixtures/App/app/"
},
"minimum-stability": "dev",
"prefer-stable": true