generated from attachmentgenie/attachmentgenie-example
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Guardfile
38 lines (33 loc) · 886 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
31
32
33
34
35
36
37
38
guard 'rake', :task => 'validate' do
watch(%r{^examples\/(.+)\.pp$})
watch(%r{^manifests\/(.+)\.pp$})
watch(%r{^templates\/(.+)\.erb$})
end
guard 'rake', :task => 'lint' do
watch(%r{^examples\/(.+)\.pp$})
watch(%r{^manifests\/(.+)\.pp$})
watch(%r{^templates\/(.+)\.erb$})
end
guard 'rake', :task => 'rubocop' do
watch(%r{^lib\/(.+)\.rb$})
watch(%r{^spec\/(.+)\.rb$})
end
guard 'rake', :task => 'strings:generate', :task_args => [''] do
watch(%r{^manifests\/(.+)\.pp$})
watch('README.md')
end
guard 'rake', :task => 'spec' do
watch(%r{^examples\/(.+)\.pp$})
watch(%r{^manifests\/(.+)\.pp$})
watch(%r{^templates\/(.+)\.erb$})
watch(%r{^spec\/(.+)_spec\.rb$})
watch('spec/spec_helper.rb')
watch('.fixtures.yml')
watch('metadata.json')
end
=begin
guard 'rake', :task => 'kitchen:all' do
watch(%r{^manifests\/(.+)\.pp$})
watch('.kitchen.yml')
end
=end