Skip to content

Instantly share code, notes, and snippets.

@sirkirby
Last active August 29, 2015 13:56
Show Gist options
  • Save sirkirby/9194235 to your computer and use it in GitHub Desktop.
Save sirkirby/9194235 to your computer and use it in GitHub Desktop.
:: 1. Restore NuGet packages
IF /I "src\MySolution.sln" NEQ "" (
call :ExecuteCmd "%DEPLOYMENT_SOURCE%\tools\nuget\nuget.exe" restore "%DEPLOYMENT_SOURCE%\src\MySolution.sln" -ConfigFile "%DEPLOYMENT_SOURCE%\tools\nuget\nuget.config"
IF !ERRORLEVEL! NEQ 0 goto error
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment