Add compile task as dependency of test task.

This commit is contained in:
Patrick Mahoney 2011-12-11 21:47:16 -06:00
parent cf45ab9891
commit c25efe0c96
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ end
desc 'Run the tests' desc 'Run the tests'
task :default => [:test] task :default => [:test]
Rake::TestTask.new do |t| Rake::TestTask.new(:test => [:compile]) do |t|
t.pattern = 'spec/**/*_spec.rb' t.pattern = 'spec/**/*_spec.rb'
t.libs.push 'spec' t.libs.push 'spec'
end end