This commit is contained in:
James Montemagno 2017-02-15 13:55:00 -08:00
Родитель c515a86ba7
Коммит bf16c3d6bc
1 изменённых файлов: 18 добавлений и 29 удалений

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

@ -11,6 +11,13 @@ var libraries = new Dictionary<string, string> {
{ "./src/Effects.sln", "Any" },
};
var nugets = new List<string> {
"./nuget/Converters.nuspec",
"./nuget/Controls.nuspec",
"./nuget/Behaviors.nuspec",
"./nuget/Effects.nuspec"
};
var BuildAction = new Action<Dictionary<string, string>> (solutions =>
{
@ -64,36 +71,18 @@ Task ("NuGet")
.IsDependentOn ("Libraries")
.Does (() =>
{
if(!DirectoryExists("./Build/nuget/"))
CreateDirectory("./Build/nuget");
NuGetPack ("./nuget/Converters.nuspec", new NuGetPackSettings {
Version = version,
Verbosity = NuGetVerbosity.Detailed,
OutputDirectory = "./Build/nuget/",
BasePath = "./",
});
if(!DirectoryExists("./Build/nuget/"))
CreateDirectory("./Build/nuget");
NuGetPack ("./nuget/Behaviors.nuspec", new NuGetPackSettings {
Version = version,
Verbosity = NuGetVerbosity.Detailed,
OutputDirectory = "./Build/nuget/",
BasePath = "./",
});
NuGetPack ("./nuget/Controls.nuspec", new NuGetPackSettings {
Version = version,
Verbosity = NuGetVerbosity.Detailed,
OutputDirectory = "./Build/nuget/",
BasePath = "./",
});
NuGetPack ("./nuget/Effects.nuspec", new NuGetPackSettings {
Version = version,
Verbosity = NuGetVerbosity.Detailed,
OutputDirectory = "./Build/nuget/",
BasePath = "./",
});
foreach(var nuget in nugets)
{
NuGetPack (nuget, new NuGetPackSettings {
Version = version,
Verbosity = NuGetVerbosity.Detailed,
OutputDirectory = "./Build/nuget/",
BasePath = "./",
});
}
});