1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-12 08:54:00 +02:00
joplin/gulpfile.js
2020-10-10 13:02:37 +01:00

18 lines
660 B
JavaScript

const gulp = require('gulp');
const utils = require('./Tools/gulp/utils');
const tasks = {
copyLib: require('./Tools/gulp/tasks/copyLib'),
tsc: require('./Tools/gulp/tasks/tsc'),
updateIgnoredTypeScriptBuild: require('./Tools/gulp/tasks/updateIgnoredTypeScriptBuild'),
deleteBuildDirs: require('./Tools/gulp/tasks/deleteBuildDirs'),
};
utils.registerGulpTasks(gulp, tasks);
gulp.task('build', gulp.series('copyLib', 'tsc', 'updateIgnoredTypeScriptBuild'));
// 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'));