Sha256: 1c9cb8a17b96e86dfb11412462b3b806cf0ce77e9830fca0757ca42b7a3434b3

Contents?: true

Size: 575 Bytes

Versions: 5

Compression:

Stored size: 575 Bytes

Contents

require "bundler/gem_tasks"
require "rake/extensiontask"
require "rspec/core/rake_task"

# compile
gemspec = eval(File.read(File.expand_path('../word_scoop.gemspec', __FILE__)))
Rake::ExtensionTask.new("word_scoop", gemspec) do |ext|
  ext.lib_dir = "lib/word_scoop"
end

# spec
RSpec::Core::RakeTask.new(:spec)
task :default => :spec
Rake::Task[:spec].prerequisites << :compile

# benchmark
task :benchmark do
  require File.expand_path("../benchmark/measure", __FILE__)
  WordScoopBenchmark.new.run
end
Rake::Task[:benchmark].prerequisites << :compile

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
word_scoop-2.2.1 Rakefile
word_scoop-2.2.0 Rakefile
word_scoop-2.1.2 Rakefile
word_scoop-2.1.1 Rakefile
word_scoop-2.1.0 Rakefile