Exemplo n.º 1
0
        public static void FlutterDrive(this ICakeContext context, FlutterDriveSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            var runner = new GenericRunner <FlutterDriveSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            runner.Run("drive", settings ?? new FlutterDriveSettings());
        }
Exemplo n.º 2
0
        public static IEnumerable <string> FlutterDriveWithResult(this ICakeContext context, FlutterDriveSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            var runner = new GenericRunner <FlutterDriveSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            return(runner.RunWithResult("drive", settings ?? new FlutterDriveSettings()));
        }