Sha256: 28a306d658a1f4c2f4dbf88805b62a703db4963543a57b19fae84bf698ce75c0

Contents?: true

Size: 644 Bytes

Versions: 1

Compression:

Stored size: 644 Bytes

Contents

require 'bundler/gem_tasks'
require 'rake/testtask'
require 'rubocop/rake_task'

RuboCop::RakeTask.new

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

require 'rake/extensiontask'

gemspec = Gem::Specification.load(File.expand_path('simdjson.gemspec', __dir__))
Rake::ExtensionTask.new('simdjson', gemspec) do |ext|
  ext.lib_dir = 'lib/simdjson'
end

task :bench do
  ruby('benchmark/run_benchmark.rb')
end

task :clean_vendor do
  Dir.chdir('vendor/simdjson') do
    `git clean -fd`
    `git checkout .`
  end
end

task default: %i[clobber compile test clean_vendor]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simdjson-0.3.0 Rakefile