Sha256: 73c0b70d16f8cb99ab5ea90a0016c3817d53a29349954627cc46e416e4fde5ed

Contents?: true

Size: 523 Bytes

Versions: 9

Compression:

Stored size: 523 Bytes

Contents

# frozen_string_literal: true

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

Rake::ExtensionTask.new(:compile) do |ext|
  ext.name = 'fast_underscore'
  ext.ext_dir = 'ext/fast_underscore'
  ext.lib_dir = 'lib/fast_underscore'
  ext.gem_spec = Gem::Specification.load('fast_underscore.gemspec')
end

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

Rake::Task[:test].prerequisites << :compile

task default: :test

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fast_underscore-0.3.3 Rakefile
fast_underscore-0.3.2 Rakefile
fast_underscore-0.3.1 Rakefile
fast_underscore-0.3.0 Rakefile
fast_underscore-0.2.0 Rakefile
fast_underscore-0.1.0 Rakefile
fast_underscore-0.0.3 Rakefile
fast_underscore-0.0.2 Rakefile
fast_underscore-0.0.1 Rakefile