2020-11-05 18:58:23 +02:00
|
|
|
const gulp = require('gulp');
|
2020-11-07 17:59:37 +02:00
|
|
|
const utils = require('@joplin/tools/gulp/utils');
|
2020-11-05 18:58:23 +02:00
|
|
|
|
|
|
|
const tasks = {
|
|
|
|
encodeAssets: {
|
|
|
|
fn: require('./tools/encodeAssets'),
|
|
|
|
},
|
2021-07-13 20:13:13 +02:00
|
|
|
buildInjectedJs: {
|
|
|
|
fn: require('./tools/buildInjectedJs'),
|
2020-11-05 18:58:23 +02:00
|
|
|
},
|
|
|
|
podInstall: {
|
|
|
|
fn: require('./tools/podInstall'),
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
utils.registerGulpTasks(gulp, tasks);
|
|
|
|
|
|
|
|
gulp.task('build', gulp.series(
|
2021-07-13 20:13:13 +02:00
|
|
|
'buildInjectedJs',
|
2020-11-05 18:58:23 +02:00
|
|
|
'encodeAssets',
|
|
|
|
'podInstall'
|
|
|
|
));
|