Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (20 sloc) 0.528 kB
require 'rake/clean'
require 'fileutils'
projects = ['watir', 'firewatir', 'watir-common']
desc "Generate all the Watir gems"
task :gems do
projects.each do |x|
Dir.chdir(x) {puts `rake.bat gem`}
end
FileUtils.makedirs 'gems'
gems = Dir['*/pkg/*.gem']
gems.each {|gem| FileUtils.install gem, 'gems'}
end
desc "Clean all the projects"
task :clean_subprojects do
projects.each do |x|
Dir.chdir(x) {puts `rake.bat clean`}
end
end
task :clean => [:clean_subprojects]
CLEAN.add 'gems/*'
Jump to Line
Something went wrong with that request. Please try again.