1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00
joplin/ReactNativeClient/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();
};