mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-09-29 12:49:07 +02:00
26147bb962
With this change, composer will automatically call dev/build after an update or install command. The main reason that this is 3.1-only is that previous releases would have necessitated the use of 'sudo -u www-data', which is too environment-specific. One thing that this may cause problems with is 'composer create-project' in an environment without a _ss_environment file. It will call dev/build, and dev/build will throw an error. That should be fixed in a subsequent commit.
19 lines
470 B
JSON
19 lines
470 B
JSON
{
|
|
"name": "silverstripe/installer",
|
|
"description": "The SilverStripe Framework Installer",
|
|
"require": {
|
|
"php": ">=5.3.2",
|
|
"silverstripe/cms": "self.version",
|
|
"silverstripe/framework": "self.version",
|
|
"silverstripe-themes/simple": "*"
|
|
},
|
|
"config": {
|
|
"process-timeout": 600
|
|
},
|
|
"scripts": {
|
|
"post-install-cmd": "php ./framework/cli-script.php dev/build",
|
|
"post-update-cmd": "php ./framework/cli-script.php dev/build"
|
|
},
|
|
"minimum-stability": "dev"
|
|
}
|