public string GetPlatformSuffix(TargetPlatform?platform = null) { if (platform == null) { platform = ActivePlatform; } return("." + Toolbox.GetTargetPlatformString(platform.Value)); }
public string GetMainBundlePath(TargetPlatform platform) { return(Path.ChangeExtension(AssetsDirectory, Toolbox.GetTargetPlatformString(platform))); }
public string GetBundlePath(string bundleName, TargetPlatform platform) { if (bundleName == CookingRulesBuilder.MainBundleName) { return(The.Workspace.GetMainBundlePath(platform)); } else { return(Path.Combine(Path.GetDirectoryName(AssetsDirectory), bundleName + "." + Toolbox.GetTargetPlatformString(platform))); } }
public SolutionBuilder(TargetPlatform platform, string customSolution = null) { this.platform = platform; projectName = The.Workspace.Title; projectDirectory = Path.Combine(The.Workspace.ProjectDirectory, projectName + "." + Toolbox.GetTargetPlatformString(platform)); this.customSolution = customSolution; var builder = GetBuildSystem(); ReleaseBinariesDirectory = builder.ReleaseBinariesDirectory; DebugBinariesDirectory = builder.DebugBinariesDirectory; }