Sha256: 791a98366b5bf8515f8135956f964cdf5c61a0f3533ec17fdc0440e8ac782c28
Contents?: true
Size: 573 Bytes
Versions: 91
Compression:
Stored size: 573 Bytes
Contents
Dir[File.join(Dir.pwd, 'tasks', '**', '*.rb')].each { |f| require f } module Distribution class Executable include PackageHelpers extend Forwardable attr_reader :package def_delegators :@package, :dir, :package_name def initialize(package) @package = package end def self.create(package) executable = new(package) executable.copy_wrapper executable end def copy_wrapper print_to_console 'Creating exexutable...' FileUtils.cp 'packaging/wrapper.sh', "#{dir}/#{package_name}" end end end
Version data entries
91 entries across 91 versions & 3 rubygems