Sha256: 63b4a225ef2694610fb9b7373de9178bae3e8e0f9546d84ba5e575c752e69558
Contents?: true
Size: 474 Bytes
Versions: 3
Compression:
Stored size: 474 Bytes
Contents
desc "Run all the tests on a fresh test database" task :default do Rake::Task[:test_units].invoke rescue got_error = true Rake::Task[:test_functional].invoke rescue got_error = true raise "Test failures" if got_error end task :environment do require(File.join(RAILS_ROOT, 'config', 'environment')) end desc "Clears all *.log files in log/" task :clear_logs do FileList["log/*.log"].each do |log_file| f = File.open(log_file, "w") f.close end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rails-0.14.3 | lib/tasks/misc.rake |
rails-0.14.4 | lib/tasks/misc.rake |
rails-1.0.0 | lib/tasks/misc.rake |