Automatically run composer install if no vendor dir

This commit is contained in:
Oliver Davies 2015-12-07 12:33:21 +00:00
parent e28063fac1
commit 47804e6239

View file

@ -1,3 +1,8 @@
#!/bin/bash
if [ ! -d vendor/ ];
then
composer install
fi
./vendor/bin/sculpin generate --server --watch --clean --no-interaction