Created
April 17, 2011 05:45
-
-
Save davidalpert/923786 to your computer and use it in GitHub Desktop.
Powershell one-liner loops recursively tghrough the current folder calling 'nuget install' on each packages.config under the current location.
This file contains hidden or 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
Get-ChildItem . -Recurse -Filter packages.config | ForEach ($_) {$configPath = $_.FullName;Write-Host;Write-Host "Reading $configPath"; nuget install $configPath -OutputDirectory .\packages} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment