Beispiel #1
0
        public static void MDToolArchive (this ICakeContext context, FilePath solutionFile, string projectName, Action<MDToolSettings> settings)
        {
            var mds = new MDToolSettings ();

            if (settings != null)
                settings (mds);

            iOSArchive (context, solutionFile, projectName, mds);
        }
Beispiel #2
0
        public static void MDToolBuild (this ICakeContext context, FilePath projectOrSolutionFile, Action<MDToolSettings> settings = null)
        {
            var mds = new MDToolSettings ();

            if (settings != null)
                settings (mds);

            var runner = new MDToolRunner (context.FileSystem, context.Environment, context.ProcessRunner, context.Globber);
            runner.Build (projectOrSolutionFile, mds);
        }
Beispiel #3
0
        public static void MDToolArchive (this ICakeContext context, FilePath solutionFile, string projectName, Action<MDToolSettings> settings = null)
        {
            var mds = new MDToolSettings ();

            if (settings != null)
                settings (mds);

            var runner = new MDToolRunner (context.FileSystem, context.Environment, context.ProcessRunner, context.Globber);
            runner.Archive (solutionFile, projectName, mds);
        }
Beispiel #4
0
 public static void iOSBuild (this ICakeContext context, FilePath projectOrSolutionFile, MDToolSettings settings)
 {
     if (!context.Environment.IsUnix ())
         throw new CakeException ("iOSBuild alias only runs on Mac OSX");
     
     var runner = new MDToolRunner (context.FileSystem, context.Environment, context.ProcessRunner, context.Globber);
     runner.Build (projectOrSolutionFile, settings);
 }
Beispiel #5
0
        public static void iOSBuild (this ICakeContext context, FilePath projectOrSolutionFile, Action<MDToolSettings> settings)
        {
            var mds = new MDToolSettings ();

            if (settings != null)
                settings (mds);
            
            iOSBuild (context, projectOrSolutionFile, mds);
        }