X-Git-Url: https://git.rapsys.eu/airlibre/blobdiff_plain/0d93f62096f34cd54bc1e702e67103e921060b2c..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".'); }