mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-09 11:16:39 -05:00
Move the gulp modernizr task to just above the watch task and fix the dashboard includes
This commit is contained in:
parent
5091f95475
commit
68adeae84b
2 changed files with 11 additions and 9 deletions
14
gulpfile.js
14
gulpfile.js
|
@ -114,6 +114,13 @@ gulp.task("js-dashboard-libs", function() {
|
|||
return processJavaScript("lib-dashboard", jsDashboardLibs, false);
|
||||
});
|
||||
|
||||
// gulp task to copy fonts
|
||||
gulp.task("fonts", function() {
|
||||
return gulp.src(fontPaths)
|
||||
.pipe(gPlumber(plumberError))
|
||||
.pipe(gulp.dest("public/fonts/"));
|
||||
});
|
||||
|
||||
// gulp task for modernizr
|
||||
gulp.task("modernizr", function() {
|
||||
const modernizr = gulp.src([ "public/js/lib.js", "public/js/app.js", "public/css/app.css" ])
|
||||
|
@ -131,13 +138,6 @@ gulp.task("modernizr", function() {
|
|||
return modernizr.pipe(gulp.dest("public/js/"));
|
||||
});
|
||||
|
||||
// gulp task to copy fonts
|
||||
gulp.task("fonts", function() {
|
||||
return gulp.src(fontPaths)
|
||||
.pipe(gPlumber(plumberError))
|
||||
.pipe(gulp.dest("public/fonts/"));
|
||||
});
|
||||
|
||||
// gulp watch task
|
||||
gulp.task("watch", function() {
|
||||
const gLiveReload = require("gulp-livereload");
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
// Libraries
|
||||
|
||||
@import "bootstrap-sass/assets/stylesheets/_bootstrap.scss";
|
||||
@import "fontawesome/scss/font-awesome.scss";
|
||||
@import "awesome-bootstrap-checkbox/awesome-bootstrap-checkbox";
|
||||
@import "jquery-ui/themes/base/datepicker";
|
||||
@import "awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.scss";
|
||||
@import "datetimepicker/jquery.datetimepicker";
|
||||
@import "simplemde/dist/simplemde.min";
|
||||
@import "SpinKit/css/spinners/11-folding-cube";
|
||||
|
||||
|
||||
// Core
|
||||
@import "_var";
|
||||
@import "_fonts";
|
||||
|
|
Loading…
Reference in a new issue