/
example_dot_autotest.rb
68 lines (51 loc) · 1.45 KB
/
example_dot_autotest.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# -*- ruby -*-
# require 'autotest/autoupdate'
# require 'autotest/bundler'
# require 'autotest/fixtures'
# require 'autotest/isolate'
# require 'autotest/migrate'
# require 'autotest/once'
# require 'autotest/preload'
# require 'autotest/rcov'
# require 'autotest/restart'
# require 'autotest/timestamp'
# Autotest::AutoUpdate.sleep_time = o
# Autotest::AutoUpdate.update_cmd = o
# Autotest::Isolate.dir = o
# Autotest::Preload.glob = o
# Autotest::RCov.command = o
# Autotest::RCov.pattern = o
# Autotest::RCov.options = o
# Autotest.add_hook :initialize do |at|
# ... do stuff for :initialize hook ...
# end
# Autotest.add_hook :post_initialize do |at|
# ... do stuff for :post_initialize hook ...
# end
# Autotest.add_hook :all_good do |at|
# ... do stuff for :all_good hook ...
# end
# Autotest.add_hook :quit do |at|
# ... do stuff for :quit hook ...
# end
# Autotest.add_hook :run_command do |at|
# ... do stuff for :run_command hook ...
# end
# Autotest.add_hook :ran_command do |at|
# ... do stuff for :ran_command hook ...
# end
# Autotest.add_hook :interrupt do |at|
# ... do stuff for :interrupt hook ...
# end
# Autotest.add_hook :updated do |at|
# ... do stuff for :updated hook ...
# end
# Autotest.add_hook :all_good do |at|
# ... do stuff for :all_good hook ...
# end
# Autotest.add_hook :reset do |at|
# ... do stuff for :reset hook ...
# end
# Autotest.add_hook :waiting do |at|
# ... do stuff for :waiting hook ...
# end