Run bower prune before running bower install in init.sh

This commit is contained in:
Kevin MacMartin 2016-10-12 20:54:16 -04:00
parent 26848d1f07
commit c9d6b0a29c

View file

@ -73,8 +73,8 @@ php artisan migrate || error "${c_m}php artisan migrate$c_w exited with an error
msg "Running: ${c_m}npm install"
npm install --production || error "${c_m}npm install$c_w exited with an error status"
msg "Running: ${c_m}bower install"
bower install || error "${c_m}bower install$c_w exited with an error status"
msg "Running: ${c_m}bower prune && bower install"
bower prune && bower install || error "${c_m}bower prune && bower install$c_w exited with an error status"
msg "Running: ${c_m}gulp --production"
gulp --production || error "${c_m}gulp --production$c_w exited with an error status"