From 6715f848bbc595e850eea296d49ab3f77bdf4e07 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Fri, 11 Apr 2014 16:13:20 -0700 Subject: [PATCH] Add box.json for creating phar --- box.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 box.json diff --git a/box.json b/box.json new file mode 100644 index 0000000..3c919a4 --- /dev/null +++ b/box.json @@ -0,0 +1,32 @@ +{ + "main": "vendor/autoload.php", + "output": "geoip2.phar", + "compactors": [ + "Herrera\\Box\\Compactor\\Composer", + "Herrera\\Box\\Compactor\\Json", + "Herrera\\Box\\Compactor\\Php" + ], + "files": [ + "LICENSE" + ], + "finder": [ + { + "name": [ + "LICENSE", + "*.php", + "*.json" + ], + "notName": [ + "composer.json" + ], + "exclude": [ + "phpunit", + "satooshi", + "tests" + ], + "in": ["compat", "src", "vendor"] + } + ], + "directories": ["compat", "src/", "vendor/"], + "stub": true +}