forked from foundryvtt/dnd5e
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.mjs
31 lines (24 loc) · 821 Bytes
/
gulpfile.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import gulp from "gulp";
import * as css from "./utils/css.mjs";
import * as javascript from "./utils/javascript.mjs";
import * as packs from "./utils/packs.mjs";
// Default export - build CSS and watch for updates
export default gulp.series(
gulp.parallel(css.compile),
css.watchUpdates
);
// CSS compiling
export const buildCSS = gulp.series(css.compile);
// Javascript compiling & linting
export const buildJS = gulp.series(javascript.compile);
export const lint = gulp.series(javascript.lint);
// Compendium pack management
export const cleanPacks = gulp.series(packs.clean);
export const compilePacks = gulp.series(packs.compile);
export const extractPacks = gulp.series(packs.extract);
// Build all artifacts
export const buildAll = gulp.parallel(
css.compile,
javascript.compile,
packs.compile
);