Method: PDK::Module::Build#stage_module_in_build_dir
- Defined in:
- lib/pdk/module/build.rb
#stage_module_in_build_dir ⇒ Object
Iterate through all the files and directories in the module and stage them into the temporary build directory (unless ignored).
99 100 101 102 103 104 105 106 107 |
# File 'lib/pdk/module/build.rb', line 99 def stage_module_in_build_dir require 'find' Find.find(module_dir) do |path| next if path == module_dir ignored_path?(path) ? Find.prune : stage_path(path) end end |