Sha256: aba0596b5a4b2e2bc1e3c90ff4d2456298a1f4b143060773a7dfae23605b5454

Contents?: true

Size: 575 Bytes

Versions: 31

Compression:

Stored size: 575 Bytes

Contents

# We can't use Ruby's standard build procedures
# on Windows because the Ruby executable is
# built with VC++ while here we want to build
# with MingW.  So just roll our own...

require 'fileutils'
require 'rbconfig'

EXTENSION_NAME = "ruby_prof.#{Config::CONFIG["DLEXT"]}"

# This is called when the Windows GEM is installed!
task :install do
  # Gems will pass these two environment variables:
  # RUBYARCHDIR=#{dest_path}
  # RUBYLIBDIR=#{dest_path}
  
  dest_path = ENV['RUBYLIBDIR']

  # Copy the extension
  cp(EXTENSION_NAME, dest_path)
end

task :default => :install

Version data entries

31 entries across 31 versions & 6 rubygems

Version Path
adamh-ruby-prof-0.7.3 ext/mingw/Rakefile
skaes-ruby-prof-0.7.3 ext/mingw/Rakefile
ruby-prof-0.10.8 ext/ruby_prof/mingw/Rakefile
ruby-prof-0.10.7 ext/ruby_prof/mingw/Rakefile
ruby-prof-0.10.6 ext/ruby_prof/mingw/Rakefile
ruby-prof-0.10.5 ext/ruby_prof/mingw/Rakefile
ruby-prof-0.10.4 ext/ruby_prof/mingw/Rakefile
ruby-prof-0.10.2 ext/ruby_prof/mingw/Rakefile
acunote-ruby-prof-0.9.2 ext/ruby_prof/mingw/Rakefile
ruby-prof-0.9.2 ext/ruby_prof/mingw/Rakefile
ruby-prof-0.9.1 ext/ruby_prof/mingw/Rakefile
ruby-prof-0.9.0 ext/ruby_prof/mingw/Rakefile
ruby-prof-danielhoey-0.8.1 ext/ruby_prof/mingw/Rakefile
ruby-prof-0.8.2 ext/ruby_prof/mingw/Rakefile
ruby-prof-0.8.1-x86-mingw32 ext/ruby_prof/mingw/Rakefile
ruby-prof-0.8.1-x86-mswin32 ext/ruby_prof/mingw/Rakefile
ruby-prof-0.8.1 ext/mingw/Rakefile
ruby-prof-0.7.10 ext/mingw/Rakefile
ruby-prof-0.7.9 ext/mingw/Rakefile
ruby-prof-0.7.8 ext/mingw/Rakefile