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