mirror of
https://github.com/RoY7x/worldbuilding.git
synced 2025-07-04 21:50:44 -04:00
Add customizable initiative.
This commit is contained in:
parent
c2d939aa1c
commit
ba02ddee4f
6 changed files with 122 additions and 11 deletions
32
gulpfile.js
Normal file
32
gulpfile.js
Normal file
|
@ -0,0 +1,32 @@
|
|||
const gulp = require('gulp');
|
||||
const less = require('gulp-less');
|
||||
|
||||
/* ----------------------------------------- */
|
||||
/* Compile LESS
|
||||
/* ----------------------------------------- */
|
||||
|
||||
const SIMPLE_LESS = ["styles/*.less"];
|
||||
function compileLESS() {
|
||||
return gulp.src("styles/simple.less")
|
||||
.pipe(less())
|
||||
.pipe(gulp.dest("./styles/"))
|
||||
}
|
||||
const css = gulp.series(compileLESS);
|
||||
|
||||
/* ----------------------------------------- */
|
||||
/* Watch Updates
|
||||
/* ----------------------------------------- */
|
||||
|
||||
function watchUpdates() {
|
||||
gulp.watch(SIMPLE_LESS, css);
|
||||
}
|
||||
|
||||
/* ----------------------------------------- */
|
||||
/* Export Tasks
|
||||
/* ----------------------------------------- */
|
||||
|
||||
exports.default = gulp.series(
|
||||
gulp.parallel(css),
|
||||
watchUpdates
|
||||
);
|
||||
exports.css = css;
|
Loading…
Add table
Add a link
Reference in a new issue