Sha256: 12e80958905b1d7dc22878c9958fe8fd1d71304290d418caf91e3bd95fc873c2
Contents?: true
Size: 545 Bytes
Versions: 15
Compression:
Stored size: 545 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 'bundle --local && rake cross native gem' end
Version data entries
15 entries across 15 versions & 1 rubygems