Skip to content

Commit ff92915

Browse files
committed
update common Guardfile
updating common files with changes that are configured in the profiles: Guardfile
1 parent 2eabd47 commit ff92915

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Guardfile

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# encoding: utf-8
22

3+
# Guardfile
4+
35
guard 'rake', :task => 'lint' do
4-
watch(/^.*$/)
6+
watch(%r{^manifests/.*$})
7+
watch(%r{^templates/.*$})
8+
end
9+
10+
guard 'rake', :task => 'spec' do
11+
watch(%r{^spec/(classes|defines)/.+_spec\.rb$})
12+
watch('spec/spec_helper.rb')
13+
watch(%r{^lib/.*$})
14+
watch(%r{^manifests/.*$})
15+
watch(%r{^templates/.*$})
516
end

0 commit comments

Comments
 (0)