Init
This commit is contained in:
12
tests/bootstrap.php
Normal file
12
tests/bootstrap.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php declare(strict_types = 1);
|
||||
|
||||
use Ninjify\Nunjuck\Environment;
|
||||
|
||||
// Check composer && tester
|
||||
if (@!include __DIR__ . '/../vendor/autoload.php') {
|
||||
echo 'Install Nette Tester using `composer update --dev`';
|
||||
exit(1);
|
||||
}
|
||||
|
||||
// Configure test environment
|
||||
Environment::setup(__DIR__);
|
||||
Reference in New Issue
Block a user