UNPKG

594 BTypeScriptView Raw
1import { bunyan } from '@expo/logger';
2import { SpawnResult } from '@expo/turtle-spawn';
3interface FastlaneOptions {
4 logger?: bunyan;
5 envs?: {
6 [key: string]: string | undefined;
7 };
8 cwd?: string;
9}
10interface FastlaneResult {
11 err?: Error;
12 stdout: string;
13 stderr: string;
14}
15declare function runFastlane(fastlaneArgs: string[], { logger, envs, cwd }?: FastlaneOptions): Promise<SpawnResult>;
16declare function runFastlaneSafely(fastlaneArgs: string[], options?: FastlaneOptions): Promise<FastlaneResult>;
17export default runFastlane;
18export { runFastlaneSafely };