Browse Source

add compile script call to composer.json

expose call for compiling `composer.phar` in composer json, along with description
Marko Kaznovac 6 years ago
parent
commit
cc4e5ec281
1 changed files with 5 additions and 0 deletions
  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"