Sha256: d0c2a2b941db5dbebfae1cddfc8cff4a42f9b9e66679a7aa9e8096508709f264
Contents?: true
Size: 644 Bytes
Versions: 24
Compression:
Stored size: 644 Bytes
Contents
# Utility methods for handling ezbake require 'fileutils' module Pkg::Util::EZbake class << self def add_manifest(target_directory) ezbake_manifest = File.join('ext', 'ezbake.manifest') ezbake_yaml = File.join('ext', 'ezbake.manifest.yaml') if File.exist?(ezbake_manifest) FileUtils.cp( ezbake_manifest, File.join(target_directory, "#{Pkg::Config.ref}.ezbake.manifest") ) end if File.exist?(ezbake_yaml) FileUtils.cp( ezbake_yaml, File.join(target_directory, "#{Pkg::Config.ref}.ezbake.manifest.yaml") ) end end end end
Version data entries
24 entries across 24 versions & 1 rubygems