Permalink
Browse files

Add nuget helper script

  • Loading branch information...
1 parent e7deb29 commit 3a16d65cd641fb7b78d18f61b64c4c20b4ec4515 @fitzchak fitzchak committed Jan 23, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 nuget.ps1
View
@@ -0,0 +1,9 @@
+
+function Update-NuGet
+{
+ $packageName = "Newtonsoft.Json";
+ Remove-Item */*.g.3.5.csproj
+ Remove-Item */*.g.csproj
+ (Get-ChildItem */packages.config) + (Get-ChildItem */*/packages.config) |
+ ForEach-Object { .\Tools\NuGet.exe update $_ -Id "$packageName" -RepositoryPath packages -Verbose }
+}

0 comments on commit 3a16d65

Please sign in to comment.