Permalink
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 327 Bytes
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