Created
November 29, 2013 14:39
-
-
Save sgotre/7706650 to your computer and use it in GitHub Desktop.
An composer JSON to use Composer update Commands with CloudControl
Related to https://gist.github.com/sgotre/7706500
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "APPNAME", | |
"description": "Desc", | |
"version" : "0.0.1", | |
"require": { | |
"php": ">=5.3.3" | |
}, | |
"require-dev": { | |
"phpunit/phpunit": "3.7.28" | |
}, | |
"autoload": { | |
"psr-0": { | |
"APPNAME": "./" | |
} | |
}, | |
"scripts": { | |
"post-update-cmd": "APPNAME\\Composer\\Install::preUpdate", | |
"post-package-install": [ | |
"APPNAME\\Composer\\Install::postPackageInstall" | |
], | |
"pre-install-cmd": [ | |
"APPNAME\\Composer\\Install::preInstall" | |
], | |
"post-install-cmd": [ | |
"APPNAME\\Composer\\Install::postInstall" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment