Add compile task as dependency of test task.
This commit is contained in:
parent
cf45ab9891
commit
c25efe0c96
2
Rakefile
2
Rakefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue