Skip to content

Instantly share code, notes, and snippets.

@wellingtonjhn
Last active November 21, 2017 22:03
Show Gist options
  • Select an option

  • Save wellingtonjhn/fa25eee20fe8566c3ae1200277d13cf7 to your computer and use it in GitHub Desktop.

Select an option

Save wellingtonjhn/fa25eee20fe8566c3ae1200277d13cf7 to your computer and use it in GitHub Desktop.
Task do Cake para criar pacotes Nuget
Task("Create-Nuget-Pack")
.IsDependentOn("Test")
.Does(() =>
{
foreach (var project in GetFiles("./src/**/*.csproj"))
{
DotNetCorePack(
project.GetDirectory().FullPath,
new DotNetCorePackSettings()
{
Configuration = configuration,
OutputDirectory = artifactsDirectory
});
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment