Permalink
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (17 sloc) 460 Bytes
require 'bundler'
require 'rake/testtask'
require 'appraisal'
Bundler::GemHelper.install_tasks
Rake::TestTask.new do |t|
t.libs = ['lib','test']
t.test_files = Dir.glob(["test/**/*_{spec,test}.rb"]).sort
t.verbose = true
end
task :default => [:test]
task :spec => [:test]
desc "Setup Appraisal."
task 'appraisal:setup' do
Rake::Task['appraisal:cleanup'].invoke
Rake::Task['appraisal:gemfiles'].invoke
Rake::Task['appraisal:install'].invoke
end