Browse Source

add compile script call to composer.json

expose call for compiling `composer.phar` in composer json, along with description
Marko Kaznovac 6 năm trước cách đây
mục cha
commit
cc4e5ec281
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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"