Last active
March 6, 2018 23:51
-
-
Save MiloszKrajewski/3b34d74af72ba811a5e783cf121c6868 to your computer and use it in GitHub Desktop.
Paket batch file / bootstrapper
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 | |
setlocal | |
set target=%~dp0\.paket | |
set paket=%target%\paket.exe | |
if not exist %paket% ( | |
rmdir /q /s %temp%\nuget\paket.bootstrapper 2> nul | |
nuget install -out %temp%\nuget -excludeversion paket.bootstrapper | |
xcopy %temp%\nuget\paket.bootstrapper\tools\* %target%\ | |
move %target%\paket.bootstrapper.exe %paket% | |
) | |
%paket% %* | |
endlocal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment