Skip to content

Commit

Permalink
allow module specific settings for exclude_paths
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Oct 11, 2016
1 parent 2b73505 commit 8b45c65
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions moduleroot/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ exclude_paths = %w(
vendor/**/*
.vendor/**/*
spec/**/*
<%- if @configs['exclude_paths'] -%>
<%- @configs['exclude_paths'].each do |path|-%>
<%= path %>
<%- end -%>
<%- end -%>
)
PuppetLint.configuration.ignore_paths = exclude_paths
PuppetSyntax.exclude_paths = exclude_paths
Expand Down

0 comments on commit 8b45c65

Please sign in to comment.