Method: PDK::Module::Build#create_build_dir

Defined in:
lib/pdk/module/build.rb

#create_build_dirObject

Create a temporary build directory where the files to be included in the package will be staged before building the tarball.

If the directory already exists, remove it first.



69
70
71
72
73
# File 'lib/pdk/module/build.rb', line 69

def create_build_dir
  cleanup_build_dir

  PDK::Util::Filesystem.mkdir_p(build_dir)
end