Rakefile in digest-murmurhash-0.2.3 vs Rakefile in digest-murmurhash-0.3.0
- old
+ new
@@ -15,7 +15,17 @@
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]
+
+task :default => [:spec, :build]