//添加打包规则 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); }
public BuildRuleConfig(string name, BuildRuleType type, bool copyDir = false) { Name = name; BuildRuleType = type; IsCopyDirectory = copyDir; }