Ejemplo n.º 1
0
        public static void DeployToGithubIoWorkingCopy(string workingCopyDirectory)
        {
            Log.Info.Here($"DeployToGithubIoWorkingCopy({workingCopyDirectory})");

            var wwwRootUri = new Uri("https://" + Path.GetFileName(workingCopyDirectory) + "/");

            CsmlApplication.ReleaseBuild(GetProjectRootDirectory(), workingCopyDirectory, wwwRootUri);
        }
Ejemplo n.º 2
0
        public static void DeveloperBuild(string outputDirectory, bool watch = false)
        {
            Log.Info.Here($"DeveloperBuild({outputDirectory},{watch})");

            CsmlApplication.DeveloperBuild(GetProjectRootDirectory(), outputDirectory, new Uri(outputDirectory + "/"));
        }