Sha256: ee50ad88ac147a725dc21f6fabebccbd48132378cf27123fcbf1b3c1a0ba90d1
Contents?: true
Size: 663 Bytes
Versions: 15
Compression:
Stored size: 663 Bytes
Contents
require 'rspec/core/rake_task' desc 'Default: run specs.' task :default => :spec task :test => :spec desc "Run specs" RSpec::Core::RakeTask.new do |t| t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default. # Put spec opts in a file named .rspec in root end desc "Generate code coverage" RSpec::Core::RakeTask.new(:coverage) do |t| t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default. t.rcov = true t.rcov_opts = ['--exclude', 'spec'] end namespace :docs do desc 'Build the docs for the FellowshipOne API.' task :build do system('rm -rf doc') system('yardoc --no-private --protected lib/**/*.rb') end end
Version data entries
15 entries across 15 versions & 2 rubygems