forked from ngs/rb-blink1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Guardfile
30 lines (27 loc) · 835 Bytes
/
Guardfile
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
notification :tmux,
:display_message => true,
:default_message_color => '#000000',
:success => '#006600',
:failed => '#660000',
:pending => '#660066',
:default => '#000066'
guard 'spork' do
watch('Gemfile')
watch('Gemfile.lock')
watch('spec/spec_helper.rb')
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^ext/blink1/blink1.c$})
watch(%r{^ext/blink1/extconf.rb$})
watch('spec/spec_helper.rb')
end
guard 'rake', :task => 'build' do
watch(%r{^lib/blink1.rb$})
watch(%r{^ext/blink1/blink1.c$})
watch(%r{^ext/blink1/extconf.rb$})
end
guard 'rspec' do
watch(%r{^lib/blink1.rb$}) { |m| "spec/blink1_spec.rb" }
watch(%r{^ext/blink1/blink1.c$}) { |m| "spec/blink1_spec.rb" }
watch(%r{^ext/blink1/extconf.rb$}) { |m| "spec/blink1_spec.rb" }
watch(%r{^spec/blink1_spec.rb$}) { |m| "spec/blink1_spec.rb" }
end