# File lib/bones/plugins/zentest.rb, line 13
13: def define_tasks
14: return unless have? :zentest
15:
16: if have? :test
17: require 'autotest'
18: namespace :test do
19: task :autotest do
20: load '.autotest' if test(ff, '.autotest')
21: Autotest.run
22: end
23: end
24:
25: desc 'Run the autotest loop'
26: task :autotest => 'test:autotest'
27: end
28:
29: if have? :spec
30: require 'autotest/rspec'
31: namespace :spec do
32: task :autotest do
33: load '.autotest' if test(ff, '.autotest')
34: Autotest::Rspec.run
35: end
36: end
37:
38: desc 'Run the autotest loop'
39: task :autotest => 'spec:autotest'
40: end
41: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.