From d008f064cce58ef530915c325331ca0730279ba6 Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Sun, 7 May 2017 14:39:19 -0700 Subject: [PATCH] Reverted to old syntax for backwards compatibility --- Rakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 9e40216..318b828 100644 --- a/Rakefile +++ b/Rakefile @@ -21,7 +21,8 @@ task :validate do sh "puppet parser validate --noop #{manifest}" end 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 Dir['puppet/site/*/templates/**/*.erb'].each do |template| sh "erb -P -x -T '-' #{template} | ruby -c"