1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00
joplin/packages/app-mobile/tools/podInstall.js
2020-11-05 16:58:23 +00:00

16 lines
377 B
JavaScript

const execa = require('execa');
module.exports = async function() {
if (process.platform !== 'darwin') return Promise.resolve();
try {
const promise = execa('pod', ['install'], { cwd: `${__dirname}/../ios` });
promise.stdout.pipe(process.stdout);
await promise;
} catch (error) {
console.warn('Could not run pod install', error);
}
return Promise.resolve();
};