Rename binary file and make it executable

This commit is contained in:
Oliver Davies 2023-01-21 20:47:25 +00:00
parent 83cb16a818
commit b1da05e9cf

View file

@ -1,21 +0,0 @@
<?php
use OliverDaviesLtd\BuildConfigs\Console\Command\BuildConfigurationCommand;
use Symfony\Component\Console\Application;
use Symfony\Component\Filesystem\Filesystem;
use Twig\Environment;
use Twig\Loader\FilesystemLoader;
require __DIR__ . '/../vendor/autoload.php';
$filesystem = new Filesystem();
$twig = new Environment(new FilesystemLoader([__DIR__.'/../templates']));
$application = new Application();
$application->addCommands([
new BuildConfigurationCommand($twig, $filesystem),
]);
$application->setDefaultCommand('build-configs', true);
$application->run();