Rename binary file and make it executable
This commit is contained in:
parent
83cb16a818
commit
b1da05e9cf
1 changed files with 1 additions and 0 deletions
22
bin/build-configs
Executable file
22
bin/build-configs
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/env php
|
||||
<?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();
|
||||
Loading…
Add table
Add a link
Reference in a new issue