Update cake script to remove iOS props on packaging

This commit is contained in:
Salman Ahmed
2022-12-11 20:18:37 +03:00
parent 87a493f007
commit 4005f8541f

View File

@@ -206,6 +206,13 @@ Task("PackTemplate")
RegexOptions.Multiline
);
ctx.ReplaceRegexInFiles(
$"{rootDirectory.FullPath}/osu.Framework.Templates/**/*.iOS.csproj",
"^.*osu.Framework.iOS.props.*$\n",
"",
RegexOptions.Multiline
);
DotNetCorePack(templateProject.FullPath, new DotNetCorePackSettings{
OutputDirectory = artifactsDirectory,
Configuration = configuration,