File tree Expand file tree Collapse file tree 3 files changed +44
-1
lines changed Expand file tree Collapse file tree 3 files changed +44
-1
lines changed Original file line number Diff line number Diff line change
1
+ # -*- ruby -*-
2
+
3
+ require 'autotest/restart'
4
+
5
+ Autotest . add_hook :initialize do |at |
6
+ # disable unit-diff for prettier minitest output
7
+ # see: https://github.com/seattlerb/zentest/commit/b462a8f1dcc03528d91c77cabc15f8575d9c378c#commitcomment-418341
8
+ at . unit_diff = 'cat'
9
+
10
+ # at.extra_files << "../some/external/dependency.rb"
11
+ #
12
+ # at.libs << ":../some/external"
13
+ #
14
+ # at.add_exception 'vendor'
15
+ #
16
+ # at.add_mapping(/dependency.rb/) do |f, _|
17
+ # at.files_matching(/test_.*rb$/)
18
+ # end
19
+ #
20
+ # %w(TestA TestB).each do |klass|
21
+ # at.extra_class_map[klass] = "test/test_misc.rb"
22
+ # end
23
+
24
+ end
25
+
26
+ # Autotest.add_hook :run_command do |at|
27
+ # system "rake build"
28
+ # end
29
+ # -*- ruby -*-
30
+
31
+ # require 'autotest/autoupdate'
32
+ # require 'autotest/once'
33
+ # require 'autotest/rcov'
34
+ # require 'autotest/restart'
35
+ # require 'autotest/timestamp'
36
+
37
+ # Autotest::AutoUpdate.sleep_time = o
38
+ # Autotest::AutoUpdate.update_cmd = o
39
+ # Autotest::RCov.command = o
40
+ # Autotest::RCov.pattern = o
Original file line number Diff line number Diff line change @@ -10,4 +10,5 @@ group :development do
10
10
gem "bundler" , "~> 1.0.0"
11
11
gem "jeweler" , "~> 1.6.2"
12
12
gem "rcov" , ">= 0"
13
+ gem "autotest-standalone" , ">= 0"
13
14
end
Original file line number Diff line number Diff line change 1
1
GEM
2
2
remote: http://rubygems.org/
3
3
specs:
4
+ autotest-standalone (4.5.5 )
4
5
git (1.2.5 )
5
6
jeweler (1.6.2 )
6
7
bundler (~> 1.0 )
7
8
git (>= 1.2.5 )
8
9
rake
9
- minitest (2.3.0 )
10
+ minitest (2.3.1 )
10
11
rake (0.9.2 )
11
12
rcov (0.9.9 )
12
13
13
14
PLATFORMS
14
15
ruby
15
16
16
17
DEPENDENCIES
18
+ autotest-standalone
17
19
bundler (~> 1.0.0 )
18
20
jeweler (~> 1.6.2 )
19
21
minitest
You can’t perform that action at this time.
0 commit comments