Created
February 22, 2013 13:38
-
-
Save mhinze/5013429 to your computer and use it in GitHub Desktop.
Updated build.cmd psake launcher ... useful for pulling down solution package (like psake) .. since later this script actually invokes psake.
This file contains 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
@echo off | |
rem source arg below can be semicolon-delim ie '-source "https://nuget.org/api/v2/;\\server\share"' | |
.\src\.nuget\nuget.exe install src\.nuget\packages.config -source "" -RequireConsent -o "src\packages" | |
if '%1'=='/?' goto help | |
if '%1'=='-help' goto help | |
if '%1'=='-h' goto help | |
powershell -NoProfile -ExecutionPolicy Bypass -Command "& '%~dp0\src\packages\psake.4.2.0.1\tools\psake.ps1' %*; if ($psake.build_success -eq $false) { exit 1 } else { exit 0 }" | |
goto :eof | |
:help | |
powershell -NoProfile -ExecutionPolicy Bypass -Command "& '%~dp0\src\packages\psake.4.2.0.1\tools\psake.ps1' -help" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment