At some point messed up with the build.cake with cmd+z, fixing build.cake

This commit is contained in:
Israel Soto 2022-03-29 10:55:04 -06:00 коммит произвёл Israel Soto
Родитель 8c5f3e2f65
Коммит 388d21a3ce
1 изменённых файлов: 9 добавлений и 7 удалений

Просмотреть файл

@ -196,14 +196,16 @@ Task ("nuget")
{
EnsureDirectoryExists("./output/");
var dotNetCorePackSettings = new DotNetCorePackSettings {
Configuration = "Release",
NoRestore = true,
NoBuild = true,
OutputDirectory = "./output/",
Verbosity = DotNetCoreVerbosity.Diagnostic,
};
foreach (var target in SOURCES_TARGETS)
MSBuild(SOLUTION_PATH, c => {
c.Configuration = "Release";
c.MaxCpuCount = 0;
c.Targets.Clear();
c.Targets.Add($@"source{BACKSLASH}{target}:Pack");
c.Properties.Add("PackageOutputPath", new [] { "../../../output/" });
});
DotNetCorePack($"./source/{target}", dotNetCorePackSettings);
});
Task ("clean")