Sha256: 0dd772787062678a9ab9f437474408613d45b765c86dafd818dff848d0fe8f37

Contents?: true

Size: 748 Bytes

Versions: 1

Compression:

Stored size: 748 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('murmurhash', spec) do |ext|
  ext.ext_dir = 'ext/digest/murmurhash'
  ext.lib_dir = 'lib/digest/murmurhash'
end

require 'digest/murmurhash/version'
desc "gem reinstall v#{Digest::MurmurHash::VERSION}"
task :reinstall do |t|
  system "gem uninstall murmurhash"
  system "rake clean"
  system "bundle exec rake"
  system "rake install"
  system "irb -rdigest/murmurhash"
end


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
digest-murmurhash-0.3.0 Rakefile