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

Version Path
shelby-arena-api-0.3.2 Rakefile
fellowshipone-api-0.9.0 Rakefile
shelby-arena-api-0.3.1 Rakefile
fellowshipone-api-0.8.0 Rakefile
shelby-arena-api-0.3.0 Rakefile
shelby-arena-api-0.2.2 Rakefile
fellowshipone-api-0.7.0 Rakefile
fellowshipone-api-0.6.4 Rakefile
shelby-arena-api-0.2.1 Rakefile
shelby-arena-api-0.2.0 Rakefile
shelby-arena-api-0.1.0 Rakefile
fellowshipone-api-0.6.3 Rakefile
fellowshipone-api-0.6.2 Rakefile
fellowshipone-api-0.6.1 Rakefile
fellowshipone-api-0.6.0 Rakefile