1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-27 10:32:58 +02:00
joplin/packages/tools/gulp/tasks/copyLib.js

18 lines
497 B
JavaScript
Raw Normal View History

2020-11-05 18:58:23 +02:00
const utils = require('../utils');
const rootDir = utils.rootDir();
module.exports = {
src: `${rootDir}/packages/app-mobile/lib/**/*`,
fn: async function() {
const copyOptions = {
excluded: [
`${rootDir}/packages/renderer/node_modules`,
2020-11-05 18:58:23 +02:00
],
};
await utils.copyDir(`${rootDir}/packages/app-mobile/lib`, `${rootDir}/packages/app-cli/build/lib`, copyOptions);
await utils.copyDir(`${rootDir}/packages/app-mobile/lib`, `${rootDir}/packages/app-desktop/lib`, copyOptions);
},
};