public static void FlutterBuildBundle(this ICakeContext context, FlutterBuildBundleSettings settings) { if (context == null) { throw new ArgumentNullException("context"); } var runner = new GenericRunner <FlutterBuildBundleSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools); runner.Run("build bundle", settings ?? new FlutterBuildBundleSettings()); }
public static IEnumerable <string> FlutterBuildBundleWithResult(this ICakeContext context, FlutterBuildBundleSettings settings) { if (context == null) { throw new ArgumentNullException("context"); } var runner = new GenericRunner <FlutterBuildBundleSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools); return(runner.RunWithResult("build bundle", settings ?? new FlutterBuildBundleSettings())); }