Remove the modernizr task from the gulp default task and add it into init.sh following gulp --production so it always runs after assets are generated

This commit is contained in:
Kevin MacMartin 2016-05-25 15:44:42 -04:00
parent 2cab3c0ac0
commit d60f40fa82
2 changed files with 3 additions and 1 deletions

View file

@ -160,6 +160,5 @@ gulp.task("default", [
"js-public-libs",
"js-dashboard",
"js-dashboard-libs",
"modernizr",
"fonts"
]);

View file

@ -71,6 +71,9 @@ bower install || error "${c_m}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"
msg "Running: ${c_m}gulp modernizr --production"
gulp modernizr --production || error "${c_m}gulp modernizr --production$c_w exited with an error status"
(( artisan_down )) && {
msg "Running: ${c_m}php artisan up"
php artisan up