Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: c2a86057d8
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (22 sloc) 0.725 kB
task :default => :test
desc "Run the tests"
task :test do
sh "ruby -r#{Dir['test/unit/*_test.rb'].join(' -r')} -e ''"
end
# HeadlessSquirrel::Rake::Runner.new :regression do |t|
# t.files = Dir['test/regression/prototype/unit/*.html']
# end
desc "Run all the regression tests"
task :ci do
sh "./bin/jstest #{Dir['test/regression/**/unit/*_test.html'].join(' ')}"
end
namespace :ci do
desc "Run the prototype regression tests"
task :prototype do
sh "./bin/jstest #{Dir['test/regression/prototype/unit/*_test.html'].join(' ')}"
end
desc "Run the scriptaculous regression tests"
task :scriptaculous do
sh "./bin/jstest #{Dir['test/regression/scriptaculous/unit/*_test.html'].join(' ')}"
end
end
Jump to Line
Something went wrong with that request. Please try again.