diff --git a/.gitignore b/.gitignore index 1b6df90..9940a70 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -/build-config.phar +/build/ /vendor/ diff --git a/build-config.php b/bin/build-config.php similarity index 77% rename from build-config.php rename to bin/build-config.php index 2577bb9..782d012 100644 --- a/build-config.php +++ b/bin/build-config.php @@ -6,10 +6,10 @@ use Symfony\Component\Filesystem\Filesystem; use Twig\Environment; use Twig\Loader\FilesystemLoader; -require __DIR__ . '/vendor/autoload.php'; +require __DIR__ . '/../vendor/autoload.php'; $filesystem = new Filesystem(); -$twig = new Environment(new FilesystemLoader([__DIR__.'/templates'])); +$twig = new Environment(new FilesystemLoader([__DIR__.'/../templates'])); $application = new Application(); diff --git a/box.json.dist b/box.json.dist index 3567b71..60dc773 100644 --- a/box.json.dist +++ b/box.json.dist @@ -1,8 +1,11 @@ { + "compression": "GZ", "directories": [ "src", "templates", "vendor" ], - "main": "build-config.php" + "exclude-dev-files": true, + "main": "bin/build-config.php", + "output": "build/build-config" }