예제 #1
0
        public static void CreateVersionedScripts(string basePath, string tfsUser, string tfsPass, bool isIcMainClient, bool isIcMain,
                                                  string programFilesPath, string schemaList, string tfExePath, string version)
        {
            var createVersionedScripts = new ICBuildLib.CreateVersionedScriptsPsake
            {
                BasePath       = basePath,
                IsIcMain       = isIcMain,
                IsIcMainClient = isIcMainClient,
                ProgramFiles   = programFilesPath,
                SchemaList     = schemaList,
                TFExePath      = tfExePath,
                TFS_User       = tfsUser,
                TFS_Pass       = tfsPass,
                Version        = version
            };

            createVersionedScripts.Execute();
        }
// ReSharper disable UnusedMember.Global
        public static void CreateVersionedScriptsTask(string basePath, bool isIcMainClient, bool isIcMain, string schemaList,
                                                      string version)
// ReSharper restore UnusedMember.Global
        {
            _createVersionedScriptsPsake = new ICBuildLib.CreateVersionedScriptsPsake
            {
                BasePath              = basePath,
                TFS_User              = null,
                TFS_Pass              = null,
                IsIcMainClient        = isIcMainClient,
                IsIcMain              = isIcMain,
                ProgramFiles          = null,
                SchemaList            = schemaList,
                TFExePath             = null,
                Version               = version,
                checkInStampedScripts = false,
                VersionXmlFile        = null
            };
            _createVersionedScriptsPsake.Execute();
        }