Sha256: cd7b6e8e5c225793d110dc260a6ddb88dc55642617aa7c246636033ad7bece24

Contents?: true

Size: 567 Bytes

Versions: 15

Compression:

Stored size: 567 Bytes

Contents

require 'rake/testtask'
require 'bundler/gem_tasks'
require 'rake/extensiontask'


spec = Gem::Specification.load('zstdlib.gemspec')


Rake::ExtensionTask.new('zstdlib', spec) do |t|
  t.cross_compile = true
  t.cross_platform = %w(x86-mingw32 x64-mingw32)
end


Gem::PackageTask.new(spec)


Rake::TestTask.new(:test) do |t|
  t.libs << 'test'
  t.libs << 'lib'
  t.test_files = FileList['test/*_test.rb']
end


task :fat do
  require 'rake_compiler_dock'
  sh 'bundle package'
  RakeCompilerDock.sh 'gem install bundle && bundle --local && rake cross native gem'
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
zstdlib-0.8.0-x86-mingw32 Rakefile
zstdlib-0.8.0-x64-mingw32 Rakefile
zstdlib-0.8.0 Rakefile
zstdlib-0.7.0-x86-mingw32 Rakefile
zstdlib-0.7.0-x64-mingw32 Rakefile
zstdlib-0.7.0 Rakefile
zstdlib-0.6.0-x86-mingw32 Rakefile
zstdlib-0.6.0-x64-mingw32 Rakefile
zstdlib-0.6.0 Rakefile
zstdlib-0.5.0 Rakefile
zstdlib-0.5.0-x86-mingw32 Rakefile
zstdlib-0.5.0-x64-mingw32 Rakefile
zstdlib-0.4.0 Rakefile
zstdlib-0.4.0-x86-mingw32 Rakefile
zstdlib-0.4.0-x64-mingw32 Rakefile