Skip to content

Commit

Permalink
Merge pull request puppetlabs-toy-chest#116 from Iristyle/ticket/mast…
Browse files Browse the repository at this point in the history
…er/MODULES-2244-additional-blacklist

(MODULES-2244) Additional blacklist excludes
  • Loading branch information
ferventcoder committed Oct 19, 2015
2 parents 837acd5 + 2579fa4 commit fb69742
Show file tree
Hide file tree
Showing 19 changed files with 5 additions and 1,740 deletions.
8 changes: 5 additions & 3 deletions build/dsc.rake
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ eod

puts "Cleaning out test and example files for #{item_name}"
FileUtils.rm_rf(Dir["#{dsc_resources_path_tmp}/**/.git",
"#{dsc_resources_path_tmp}/**/*Sample*",
"#{dsc_resources_path_tmp}/**/*Example*",
"#{dsc_resources_path_tmp}/**/*Test*"])
"#{dsc_resources_path_tmp}/**/*[Ss]ample*",
"#{dsc_resources_path_tmp}/**/*[Ee]xample*",
"#{dsc_resources_path_tmp}/**/*[Tt]est*"])

puts "Cleaning out extraneous files for #{item_name}"
FileUtils.rm_rf(Dir["#{dsc_resources_path_tmp}/**/.{gitattributes,gitignore,gitmodules}"])
Expand Down Expand Up @@ -110,6 +110,8 @@ eod
task :build, [:module_path] do |t, args|
module_path = args[:module_path] || default_dsc_module_path
m = Dsc::Manager.new
wait_for_resources = Dir["#{module_path}/**/*WaitFor*"]
fail "WaitFor* resources found - aborting type building!\n\n#{wait_for_resources}\n" if !wait_for_resources.empty?
m.target_module_path = module_path
msgs = m.build_dsc_types
msgs.each{|m| puts "#{m}"}
Expand Down

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

This file was deleted.

Binary file not shown.
Loading

0 comments on commit fb69742

Please sign in to comment.