X-Git-Url: https://git.rapsys.eu/airlibre/blobdiff_plain/3545b5ec75ec85a8c25607e6d6dc85a63b1b02a4..refs/heads/master:/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".'); }