Sha256: 7d4c030d60cdf0f51ae2dfe43e1492148a903e4ea5836a87f8db11daf3ce5c63

Contents?: true

Size: 225 Bytes

Versions: 2

Compression:

Stored size: 225 Bytes

Contents

require 'neutron'

module Neutron::Static
  def self.make_static(*files, out)
    files.map! do |file|
      File.expand_path(file)
    end
    Neutron.execute("ar rcs #{out} #{files.join(' ')}", must_success: true)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
neutron-0.2.1 lib/neutron/static_lib.rb
neutron-0.2.0 lib/neutron/static_lib.rb