Sha256: b9f6281a7b8dac44bde1d7517de983c7473371c298c3a62a437f440e8ea7d644

Contents?: true

Size: 493 Bytes

Versions: 6

Compression:

Stored size: 493 Bytes

Contents

#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
# See LICENSE.txt for permissions.
#++

require 'rubygems/ext/builder'
require 'rubygems/command'

class Gem::Ext::ExtConfBuilder < Gem::Ext::Builder

  def self.build(extension, directory, dest_path, results, args=[])
    cmd = "#{Gem.ruby} #{File.basename extension}"
    cmd << " #{args.join ' '}" unless args.empty?

    run cmd, results

    make dest_path, results

    results
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rubygems-update-2.0.0 lib/rubygems/ext/ext_conf_builder.rb
rubygems-update-2.0.0.rc.2 lib/rubygems/ext/ext_conf_builder.rb
rubygems-update-2.0.0.rc.1 lib/rubygems/ext/ext_conf_builder.rb
rubygems-update-2.0.0.preview2.2 lib/rubygems/ext/ext_conf_builder.rb
rubygems-update-2.0.0.preview2.1 lib/rubygems/ext/ext_conf_builder.rb
rubygems-update-2.0.0.preview2 lib/rubygems/ext/ext_conf_builder.rb