Add compile task as dependency of test task.

This commit is contained in:
Patrick Mahoney committed 2011-12-11 21:47:16 -06:00
1 parent cf45ab9891
commit c25efe0c96
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ end
desc 'Run the tests'
task :default => [:test]
Rake::TestTask.new do |t|
Rake::TestTask.new(:test => [:compile]) do |t|
t.pattern = 'spec/**/*_spec.rb'
t.libs.push 'spec'
end