We don't use test and rdoc

This commit is contained in:
James Hu 2015-06-04 20:36:20 -07:00
parent 400f256799
commit 21df7b559e
1 changed files with 1 additions and 26 deletions

View File

@ -23,29 +23,4 @@ Jeweler::Tasks.new do |gem|
gem.authors = ["James Hu"] gem.authors = ["James Hu"]
# dependencies defined in Gemfile # dependencies defined in Gemfile
end end
Jeweler::RubygemsDotOrgTasks.new Jeweler::RubygemsDotOrgTasks.new
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end
desc "Code coverage detail"
task :simplecov do
ENV['COVERAGE'] = "true"
Rake::Task['test'].execute
end
task :default => :test
require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "rails-reverse-proxy #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end