1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-15 09:04:04 +02:00
joplin/Tools/gulp/tasks/copyLib.js
2020-06-22 23:06:47 +01:00

18 lines
498 B
JavaScript

const utils = require('../utils');
const rootDir = utils.rootDir();
module.exports = {
src: `${rootDir}/ReactNativeClient/lib/**/*`,
fn: async function() {
const copyOptions = {
excluded: [
`${rootDir}/ReactNativeClient/lib/joplin-renderer/node_modules`,
],
};
await utils.copyDir(`${rootDir}/ReactNativeClient/lib`, `${rootDir}/CliClient/build/lib`, copyOptions);
await utils.copyDir(`${rootDir}/ReactNativeClient/lib`, `${rootDir}/ElectronClient/lib`, copyOptions);
},
};