Permalink
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (11 sloc) 326 Bytes
require 'rake/testtask'
Rake::TestTask.new do |t|
t.pattern = "test/**/*_test.rb"
end
task :default => :test
gem 'rake-compiler', '>= 0.7.5'
require "rake/extensiontask"
Rake::ExtensionTask.new 'charlock_holmes' do |ext|
ext.lib_dir = File.join 'lib', 'charlock_holmes'
end
Rake::Task[:test].prerequisites << :compile