X-Git-Url: https://git.rapsys.eu/airlibre/blobdiff_plain/3545b5ec75ec85a8c25607e6d6dc85a63b1b02a4..80b75563dfd3002cb5c30a6e5e558f06f19a4c38:/bin/console diff --git a/bin/console b/bin/console index 4fbdaa5..24bff22 100755 --- a/bin/console +++ b/bin/console @@ -4,6 +4,10 @@ use App\Kernel; use Symfony\Bundle\FrameworkBundle\Console\Application; +if (!is_dir(dirname(__DIR__).'/vendor')) { + throw new LogicException('Dependencies are missing. Try running "composer install".'); +} + if (!is_file(dirname(__DIR__).'/vendor/autoload_runtime.php')) { throw new LogicException('Symfony Runtime is missing. Try running "composer require symfony/runtime".'); }