Sha256: f05ca1e82eb036d45a3de4be6fa76ffeda425152f37cfa609af1389e55e04779

Contents?: true

Size: 520 Bytes

Versions: 31

Compression:

Stored size: 520 Bytes

Contents

# -*- coding: utf-8 -*-
require 'bundler/gem_tasks'

gemspec = Bundler::GemHelper.gemspec

require 'rake/extensiontask'
Rake::ExtensionTask.new('unf_ext', gemspec) do |ext|
  ext.cross_compile = true
  ext.cross_platform = %w[x86-mingw32 x64-mingw32]
  ext.cross_config_options << '--with-ldflags="-static-libgcc"' << '--with-static-libstdc++'
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'test'
  test.test_files = gemspec.test_files
  test.verbose = true
end

task :default => :test

Version data entries

31 entries across 29 versions & 7 rubygems

Version Path
suzuko-0.1.8 vendor/bundle/ruby/2.0.0/gems/unf_ext-0.0.7.1/Rakefile
suzuko-0.1.7 vendor/bundle/ruby/2.0.0/gems/unf_ext-0.0.7.1/Rakefile
mastermind_adeybee-0.1.4 vendor/bundle/ruby/2.2.0/gems/unf_ext-0.0.7.1/Rakefile
mastermind_adeybee-0.1.3 vendor/bundle/ruby/2.2.0/gems/unf_ext-0.0.7.1/Rakefile
mastermind_adeybee-0.1.2 vendor/bundle/ruby/2.2.0/gems/unf_ext-0.0.7.1/Rakefile
mastermind_adeybee-0.1.1 vendor/bundle/ruby/2.2.0/gems/unf_ext-0.0.7.1/Rakefile
vagrant-cloudstack-1.2.0 vendor/bundle/gems/unf_ext-0.0.7.1-x86-mingw32/Rakefile
vagrant-cloudstack-1.1.0 vendor/bundle/gems/unf_ext-0.0.7.1/Rakefile
unf_ext-0.0.7.1-x86-mingw32 Rakefile
unf_ext-0.0.7.1-x64-mingw32 Rakefile
unf_ext-0.0.7.1 Rakefile