mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-12 08:54:00 +02:00
27 lines
514 B
TypeScript
27 lines
514 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'
|
|
));
|