-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathindex.js
More file actions
23 lines (19 loc) · 787 Bytes
/
index.js
File metadata and controls
23 lines (19 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
gulpfile.js
===========
Rather than manage one giant configuration file responsible
for creating multiple tasks, each task has been broken out into
its own file in gulpfile.js/tasks. Any files in that directory get
automatically required below.
To add a new task, simply add a new task file that directory.
gulpfile.js/tasks/default.js specifies the default set of tasks to run
when you run `gulp`.
*/
const requireDir = require('require-dir');
const gulp = require('gulp');
// Require all tasks in gulpfile.js/tasks, including subfolders
requireDir('./tasks', {recurse: true});
// Default task
gulp.task('default', gulp.parallel('css', 'js'));
gulp.task('production', gulp.parallel('css', 'js', 'generate-favicon'));
gulp.task('lint', gulp.parallel('ruff', 'pylint'));