private void CopyLanguageData(GUIElementData stepData) { if (_currentGuiData.ContainsKey("language")) { CopyFilesArguments args = new CopyFilesArguments(StaticPaths.ConvertNameToBuiltOutputPath(this["game"], BuildHelper.BuildTarget, this["language"]), StaticPaths.ConvertNameToMainPath(BuildHelper.BuildTarget, this["language"])) { Include = "*", Exclude = $"{Path.DirectorySeparatorChar}xml{Path.DirectorySeparatorChar}" }; BuildHelper.RunStep(StepType.CopyFiles, args); } else { BuildHelper.DisplayLine("No language selected."); BuildHelper.RunStep(StepType.StepOver, null); } }
private void CopyOtherData(GUIElementData stepData) { CopyFilesArguments args = new CopyFilesArguments(StaticPaths.ConvertNameToBuiltOutputPath(this["game"], BuildHelper.BuildTarget), StaticPaths.ConvertNameToMainPath(BuildHelper.BuildTarget)) { Include = "*", Exclude = $"{Path.DirectorySeparatorChar}xml{Path.DirectorySeparatorChar}" }; BuildHelper.RunStep(StepType.CopyFiles, args); }