Skip to content
Browse files

Simple script for installing NuGets

  • Loading branch information...
1 parent 103c469 commit b12fe56c4c6553b866d54ea36947e9d5882b3047 @danielwertheim committed
Showing with 15 additions and 0 deletions.
  1. +2 −0 setup-devenv.bat
  2. +13 −0 setup-devenv.rb
View
2 setup-devenv.bat
@@ -0,0 +1,2 @@
+rake -f setup-devenv.rb
+pause
View
13 setup-devenv.rb
@@ -0,0 +1,13 @@
+task :default => [:installNuGetPackages]
+
+task :installNuGetPackages do
+ FileList["Source/**/packages.config"].each { |filepath|
+ sh "NuGet.exe i #{filepath} -o Source/Packages"
+ }
+end
+
+task :updateNuGetPackages do
+ FileList["Source/**/packages.config"].each { |filepath|
+ sh "NuGet.exe update #{filepath}"
+ }
+end

0 comments on commit b12fe56

Please sign in to comment.
Something went wrong with that request. Please try again.