Method: PDK::Module::Build#create_build_dir
- Defined in:
- lib/pdk/module/build.rb
#create_build_dir ⇒ Object
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.
67 68 69 70 71 72 73 |
# File 'lib/pdk/module/build.rb', line 67 def create_build_dir require 'fileutils' cleanup_build_dir FileUtils.mkdir_p(build_dir) end |