From d60f40fa82080f1e3bfd18eb9399523f7f52883f Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Wed, 25 May 2016 15:44:42 -0400 Subject: [PATCH] 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 --- gulpfile.js | 1 - init.sh | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index b55df68..9083a12 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -160,6 +160,5 @@ gulp.task("default", [ "js-public-libs", "js-dashboard", "js-dashboard-libs", - "modernizr", "fonts" ]); diff --git a/init.sh b/init.sh index 4673264..a5c8929 100755 --- a/init.sh +++ b/init.sh @@ -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