Permalink
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (15 sloc) 370 Bytes
require "bundler/gem_tasks"
require 'rake/testtask'
require 'rake/clean'
Rake::TestTask.new do |t|
t.libs << 'test'
t.pattern = 'test/*_test.rb'
t.verbose = true
end
desc "Run tests"
task :default => :test
require 'rake/extensiontask'
Rake::ExtensionTask.new('cityhash') do |ext|
ext.lib_dir = 'lib/cityhash'
end
Rake::Task[:test].prerequisites << :compile