Ejemplo n.º 1
0
        //添加打包规则
        public void AddBuildData(string name, BuildRuleType type = BuildRuleType.Directroy, string customRootPath = null)
        {
            var data = new BuildRuleData();

            data.BuildRuleType  = type;
            data.SearchPath     = name;
            data.CustomRootPath = customRootPath;
            Data.Add(data);
        }
Ejemplo n.º 2
0
 public BuildRuleConfig(string name, BuildRuleType type, bool copyDir = false)
 {
     Name            = name;
     BuildRuleType   = type;
     IsCopyDirectory = copyDir;
 }