Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (21 sloc) 486 Bytes
require "rake/testtask"
# RDocTask is deprecated, but RDoc::Task is not available in Ruby 1.8.7.
begin
require "rdoc/task"
rescue LoadError
require "rake/rdoctask"
end
require "bundler/setup"
Bundler.require(:test)
Rake::TestTask.new do |task|
task.libs << "test"
end
Rake::RDocTask.new do |rd|
rd.title = "wait gem"
end
Gokdok::Dokker.new do |gd|
gd.repo_url = "git@github.com:paperlesspost/wait.git"
gd.remote_path = "./"
end
desc "Run tests"
task :default => :test