mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-21 09:38:01 +02:00
18 lines
497 B
JavaScript
18 lines
497 B
JavaScript
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`,
|
|
],
|
|
};
|
|
|
|
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);
|
|
},
|
|
};
|