Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benakamoorthi@fastmail.fm>2014-09-02 22:07:40 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-09-02 22:08:13 +0400
commit5597c91bb336b4ea0a9dc46abfb9d2adbee233c9 (patch)
treee97b6f148bc101aa8cb3f0ab3a8ac663788a697c /composer.json
parentf5fc3c8e62e0a90a6100346cf203d4dc037de22f (diff)
xhprof removed their composer.json file, adding it to our composer.json file so we can still use composer to manage xhprof. Added an extra script to make sure the update is clean for git users.
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json32
1 files changed, 30 insertions, 2 deletions
diff --git a/composer.json b/composer.json
index 6ea410b5fa..be32b796bf 100644
--- a/composer.json
+++ b/composer.json
@@ -45,11 +45,39 @@
},
"repositories": [
{
- "type": "vcs",
- "url": "https://github.com/phacility/xhprof"
+ "type": "package",
+ "package": {
+ "name": "facebook/xhprof",
+ "type": "library",
+ "description": "XHProf: A Hierarchical Profiler for PHP",
+ "keywords": ["profiling", "performance"],
+ "homepage": "http://pecl.php.net/package/xhprof",
+ "license": "Apache-2.0",
+ "version": "master",
+ "require": {
+ "php": ">=5.2.0"
+ },
+ "autoload": {
+ "files": [
+ "xhprof_lib/utils/xhprof_lib.php",
+ "xhprof_lib/utils/xhprof_runs.php"
+ ]
+ },
+ "source": {
+ "type": "git",
+ "url": "https://github.com/phacility/xhprof",
+ "reference": "master"
+ }
+ }
}
],
"scripts": {
+ "pre-update-cmd": [
+ "misc/composer/clean-xhprof.sh"
+ ],
+ "pre-install-cmd": [
+ "misc/composer/clean-xhprof.sh"
+ ],
"post-update-cmd": [
"misc/composer/build-xhprof.sh"
],