Sha256: 3a1bfe0c5fd33328e6b15f293ff4b6a63a6e240c87238c4b460009fc3f74fe22
Contents?: true
Size: 680 Bytes
Versions: 1
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('murmurhash', 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 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-1.0.0 | Rakefile |