コード例 #1
0
        public override void RunBuild(FilePath solution)
        {
            if (!BuildsOnCurrentPlatform)
            {
                CakeContext.Information("Solution is not configured to build on this platform: {0}", SolutionPath);
                return;
            }

            if (CakeContext.IsRunningOnUnix())
            {
                CakeContext.MDToolBuild(solution, c => {
                    c.Configuration = Configuration;
                });
            }
            else
            {
                base.RunBuild(solution);
            }
        }