mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Reverted to old syntax for backwards compatibility
This commit is contained in:
parent
2cdee4c475
commit
d008f064cc
1 changed files with 2 additions and 1 deletions
3
Rakefile
3
Rakefile
|
|
@ -21,7 +21,8 @@ task :validate do
|
||||||
sh "puppet parser validate --noop #{manifest}"
|
sh "puppet parser validate --noop #{manifest}"
|
||||||
end
|
end
|
||||||
Dir['bin/**/*.rb', 'spec/**/*.rb'].each do |ruby_file|
|
Dir['bin/**/*.rb', 'spec/**/*.rb'].each do |ruby_file|
|
||||||
sh "ruby -c #{ruby_file}" unless ruby_file.match? %r{spec\/fixtures}
|
# sh "ruby -c #{ruby_file}" unless ruby_file.match? %r{spec\/fixtures}
|
||||||
|
sh "ruby -c #{ruby_file}" unless ruby_file =~ /spec\/fixtures/
|
||||||
end
|
end
|
||||||
Dir['puppet/site/*/templates/**/*.erb'].each do |template|
|
Dir['puppet/site/*/templates/**/*.erb'].each do |template|
|
||||||
sh "erb -P -x -T '-' #{template} | ruby -c"
|
sh "erb -P -x -T '-' #{template} | ruby -c"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue