Rakefile in active_mailer-0.0.10 vs Rakefile in active_mailer-1.0.0
- old
+ new
@@ -9,10 +9,16 @@
t.libs << 'test'
t.pattern = 'test/*_test.rb'
t.verbose = true
end
-task :default => :test
+if !ENV["APPRAISAL_INITIALIZED"]
+ task :default do
+ system("appraisal rake")
+ end
+else
+ task :default => :test
+end
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'ActiveMailer'
rdoc.options << '--line-numbers' << '--inline-source'