Exemple #1
0
        public static void FlutterPackagesUpgrade(this ICakeContext context, FlutterPackagesUpgradeSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            var runner = new GenericRunner <FlutterPackagesUpgradeSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            runner.Run("packages upgrade", settings ?? new FlutterPackagesUpgradeSettings());
        }
Exemple #2
0
        public static IEnumerable <string> FlutterPackagesUpgradeWithResult(this ICakeContext context, FlutterPackagesUpgradeSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }
            var runner = new GenericRunner <FlutterPackagesUpgradeSettings>(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);

            return(runner.RunWithResult("packages upgrade", settings ?? new FlutterPackagesUpgradeSettings()));
        }