Last active
November 21, 2017 22:03
-
-
Save wellingtonjhn/fa25eee20fe8566c3ae1200277d13cf7 to your computer and use it in GitHub Desktop.
Task do Cake para criar pacotes Nuget
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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