mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-13 05:26:56 +00:00
Refactor
This commit is contained in:
parent
4e885eea91
commit
a78d53a301
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,2 +1,2 @@
|
|||
/build-config.phar
|
||||
/build/
|
||||
/vendor/
|
||||
|
|
|
@ -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();
|
||||
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue