Sha256: e4305528a6527e10ac23c09326f786f9b786435c6882299616659933ebfb220f

Contents?: true

Size: 680 Bytes

Versions: 2

Compression:

Stored size: 680 Bytes

Contents

require "bundler/gem_tasks"

require 'rspec/core'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec) do |t|
  t.rspec_opts = ["-c", "-f progress", "-Ilib"]
  t.pattern = "spec/**/*_spec.rb"
  t.verbose = true
end
task :spec => :compile

require 'rake/extensiontask'
spec = Bundler::GemHelper.gemspec
Rake::ExtensionTask.new('ext', spec) do |ext|
  ext.ext_dir = 'ext/digest/murmurhash'
  ext.lib_dir = 'lib/digest/murmurhash'
end

desc "gem reinstall"
task :reinstall do |t|
  system "gem uninstall digest-murmurhash"
  system "rake clean"
  system "bundle exec rake"
  system "rake install"
  system "irb -rdigest/murmurhash"
end


task :default => [:spec, :build]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
digest-murmurhash-1.1.1 Rakefile
digest-murmurhash-1.1.0 Rakefile