mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-03 08:35:29 +02:00
16 lines
377 B
JavaScript
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();
|
|
};
|