mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-21 09:38:01 +02:00
27 lines
515 B
TypeScript
27 lines
515 B
TypeScript
const gulp = require('gulp');
|
|
const utils = require('@joplin/tools/gulp/utils');
|
|
import { buildInjectedJS, watchInjectedJS } from './tools/buildInjectedJs';
|
|
|
|
const tasks = {
|
|
encodeAssets: {
|
|
fn: require('./tools/encodeAssets'),
|
|
},
|
|
buildInjectedJs: {
|
|
fn: buildInjectedJS,
|
|
},
|
|
watchInjectedJs: {
|
|
fn: watchInjectedJS,
|
|
},
|
|
podInstall: {
|
|
fn: require('./tools/podInstall'),
|
|
},
|
|
};
|
|
|
|
utils.registerGulpTasks(gulp, tasks);
|
|
|
|
gulp.task('build', gulp.series(
|
|
'buildInjectedJs',
|
|
'encodeAssets',
|
|
'podInstall',
|
|
));
|