Sha256: de3fcc75cb3174ed61159862eef361cc01230429ab89843a5f1a76801bf4c304
Contents?: true
Size: 808 Bytes
Versions: 2
Compression:
Stored size: 808 Bytes
Contents
require 'bundler' Bundler::GemHelper.install_tasks require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) namespace :spec do desc "Run all examples using rcov" RSpec::Core::RakeTask.new(:rcov => :cleanup_rcov_files) do |task| task.rcov = true task.rcov_opts = %[-Ilib -Ispec --exclude "gems/*,features,specs" --text-report --sort coverage] end end task :cleanup_rcov_files do rm_rf 'coverage' end task :default => ["spec:rcov"] namespace :doc do require 'yard' YARD::Rake::YardocTask.new do |task| task.files = ['LICENSE.mkd', 'lib/**/*.rb'] task.options = [ '--no-private', '--protected', '--output-dir', 'doc/yard', '--tag', 'format:Supported formats', '--tag', 'key:Requires API key', '--markup', 'markdown', ] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
open311-0.0.1 | Rakefile |
open311-0.0.0 | Rakefile |