Skip to content
Permalink
Browse files

Simple script for installing NuGets

  • Loading branch information
danielwertheim committed Feb 28, 2012
1 parent 103c469 commit b12fe56c4c6553b866d54ea36947e9d5882b3047
Showing with 15 additions and 0 deletions.
  1. +2 −0 setup-devenv.bat
  2. +13 −0 setup-devenv.rb
@@ -0,0 +1,2 @@
rake -f setup-devenv.rb
pause
@@ -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.
You can’t perform that action at this time.