Sha256: 6e4eb7f89599566fb4684e64a542be0b4d1e6e5f9e7df0deeedcc2484da7879a

Contents?: true

Size: 660 Bytes

Versions: 40

Compression:

Stored size: 660 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 City Admin API.'
  task :build do
    system('rm -rf doc')
    system('yardoc --no-private --protected lib/**/*.rb')
  end

end

Version data entries

40 entries across 40 versions & 3 rubygems

Version Path
church-community-builder-0.2.2 Rakefile
church-community-builder-0.2.1 Rakefile
church-community-builder-0.2.0 Rakefile
the-city-admin-0.7.1 Rakefile
church-community-builder-0.1.6 Rakefile
church-community-builder-0.1.5 Rakefile
church-community-builder-0.1.4 Rakefile
church-community-builder-0.1.3 Rakefile
the-city-admin-0.7.0 Rakefile
church-community-builder-0.1.2 Rakefile
the-city-admin-0.6.9 Rakefile
church-community-builder-0.1.1 Rakefile
the-city-admin-0.6.8 Rakefile
the-city-admin-0.6.7 Rakefile
the-city-admin-0.6.6 Rakefile
the-city-admin-0.6.5 Rakefile
the-city-admin-0.6.4 Rakefile
the-city-admin-0.6.3 Rakefile
the-city-admin-0.6.2 Rakefile
the-city-admin-0.6.1 Rakefile