Beispiel #1
0
        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());
        }
Beispiel #2
0
        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()));
        }