Sha256: 88ba242e85f147dc2e0f1a541c76a4b238bc4bf8fe089a5e885cba4401956e3c
Contents?: true
Size: 478 Bytes
Versions: 37
Compression:
Stored size: 478 Bytes
Contents
# Utility methods for handling miscellaneous build metadata require 'fileutils' module Pkg::Util::BuildMetadata class << self def add_misc_json_files(target_directory) misc_json_files = Dir.glob('ext/build_metadata*.json') misc_json_files.each do |source_file| target_file = File.join( target_directory, "#{Pkg::Config.ref}.#{File.basename(source_file)}" ) FileUtils.cp(source_file, target_file) end end end end
Version data entries
37 entries across 37 versions & 1 rubygems