mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
18 lines
660 B
JavaScript
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'));
|