1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/gulpfile.js

18 lines
660 B
JavaScript
Raw Normal View History

2020-02-17 22:55:09 +02:00
const gulp = require('gulp');
const utils = require('./Tools/gulp/utils');
2020-02-17 22:55:09 +02:00
const tasks = {
copyLib: require('./Tools/gulp/tasks/copyLib'),
tsc: require('./Tools/gulp/tasks/tsc'),
updateIgnoredTypeScriptBuild: require('./Tools/gulp/tasks/updateIgnoredTypeScriptBuild'),
2020-10-10 14:02:37 +02:00
deleteBuildDirs: require('./Tools/gulp/tasks/deleteBuildDirs'),
2020-02-17 22:55:09 +02:00
};
utils.registerGulpTasks(gulp, tasks);
2020-02-17 22:55:09 +02:00
gulp.task('build', gulp.series('copyLib', 'tsc', 'updateIgnoredTypeScriptBuild'));
2020-10-10 14:02:37 +02:00
// The clean task removes build directories and copy back the library. This is useful
// when switching from one branch to another.
gulp.task('clean', gulp.series('deleteBuildDirs', 'copyLib'));