1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-15 09:04:04 +02:00
joplin/packages/app-mobile/tools/podInstall.js

16 lines
377 B
JavaScript
Raw Normal View History

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();
};