Update script [skip ci]

This commit is contained in:
James Cole 2015-03-28 06:51:54 +01:00
parent 650b99ead2
commit 95e34af6ef

9
pu.sh
View File

@ -1,7 +1,10 @@
#!/bin/bash
# create DB if not exists
rm -f tests/database/db.sqlite
touch tests/database/db.sqlite
php artisan migrate --seed
if [ ! -f tests/database/db.sqlite ]; then
touch tests/database/db.sqlite
php artisan migrate --seed
fi
phpunit