mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-15 09:04:04 +02:00
18 lines
498 B
JavaScript
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);
|
|
},
|
|
};
|