Sha256: 3429aba9c5bcdf0496baa86fbd03e0d15d546a2487cb6d7afb2cb4811777a248
Contents?: true
Size: 645 Bytes
Versions: 13
Compression:
Stored size: 645 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.exists?(ezbake_yaml) FileUtils.cp( ezbake_yaml, File.join(target_directory, "#{Pkg::Config.ref}.ezbake.manifest.yaml") ) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems