Exemplo n.º 1
0
        private static void PrepareReleaseFiles(string ver)
        {
            var portable = Path.Combine(InstallerCreator.ResultsFolderPath(),
                                        $"QSimPlanner_{ver}_portable.zip");

            ZipFile.CreateFromDirectory(OutputFolder, portable);
            var update = Path.Combine(InstallerCreator.ResultsFolderPath(),
                                      $"{ver}.zip");

            ZipFile.CreateFromDirectory(Path.Combine(OutputFolder, ver), update);
        }
Exemplo n.º 2
0
        public static void BuildAttempt()
        {
            var gen = new FileOutputGenerator();

            gen.Build();
            InstallerCreator.WriteFile(gen.Version);

            Console.WriteLine(@"


************************

    Build completed.

************************");
        }
Exemplo n.º 3
0
        public static void BuildAttempt(bool createAll)
        {
            var gen = new FileOutputGenerator();

            gen.Build();

            if (createAll)
            {
                InstallerCreator.WriteFile(gen.Version);
                PrepareReleaseFiles(gen.Version);
            }

            Console.WriteLine(@"


************************

    Build completed.

************************");
        }