Explorar o código

add compile script call to composer.json

expose call for compiling `composer.phar` in composer json, along with description
Marko Kaznovac %!s(int64=6) %!d(string=hai) anos
pai
achega
cc4e5ec281
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      composer.json

+ 5 - 0
composer.json

@@ -72,8 +72,13 @@
         "bin/composer"
     ],
     "scripts": {
+        "compile": "@php -dphar.readonly=0 bin/compile",
         "test": "phpunit"
     },
+    "scripts-descriptions": {
+        "compile": "Compile composer.phar",
+        "test": "Run all tests"
+    },
     "support": {
         "issues": "https://github.com/composer/composer/issues",
         "irc": "irc://irc.freenode.org/composer"