Skip to content

Instantly share code, notes, and snippets.

@thebentern
Last active December 13, 2015 19:54
Show Gist options
  • Save thebentern/519ef183366de925c2b4 to your computer and use it in GitHub Desktop.
Save thebentern/519ef183366de925c2b4 to your computer and use it in GitHub Desktop.
Post-build Nuget Pack and copy to local Nuget store
if $(ConfigurationName) == Release (
nuget pack "$(ProjectDir)$(ProjectName).nuspec"
xcopy "$(TargetDir)*.nupkg" "C:\LocalNuget" /y
) ELSE (
echo "Skipping nuget pack"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment