Sha256: 982138ce55eb52b02d0245054fda32d8a1c1091f975a322e13dc7e3af097dc1c

Contents?: true

Size: 507 Bytes

Versions: 2

Compression:

Stored size: 507 Bytes

Contents

# frozen_string_literal: true

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

Rake::ExtensionTask.new(:compile) do |ext|
  ext.name = 'ragel_array'
  ext.ext_dir = 'ext/ragel/array'
  ext.lib_dir = 'lib/ragel/array'
  ext.gem_spec = Gem::Specification.load('ragel-array.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

2 entries across 2 versions & 1 rubygems

Version Path
ragel-array-0.1.1 Rakefile
ragel-array-0.1.0 Rakefile