Created
April 18, 2016 05:45
-
-
Save tobyqin/e957afcbb0d13210fbf144c48bde2864 to your computer and use it in GitHub Desktop.
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 | |
set "targetDir=%~dp0..\" | |
set nuget=%~dp0..\Tools\@Executable\nuget.exe | |
echo ========================================= | |
echo Restore Nuget packages for all solutions. | |
echo. | |
echo In Path: %targetDir% | |
echo By Tool: %nuget% | |
echo ========================================= | |
echo. | |
cd %targetDir% | |
for /r %%a in (*.sln) do ( | |
echo Now Restore: %%~dpnxa | |
"%nuget%" restore "%%~dpnxa" | |
) | |
echo All done! | |
timeout /t 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment