Sha256: e45a1d0d835fc71643131e0ec1274a83606b82e56c9a63454c175a693a8252c9

Contents?: true

Size: 547 Bytes

Versions: 2

Compression:

Stored size: 547 Bytes

Contents

require File.expand_path('../test_app/config/application', __FILE__)
Rails.application.load_tasks

require 'bundler/gem_tasks'
require 'inch/rake'
require 'rspec/core/rake_task'
require 'rubocop/rake_task'
require 'yard/rake/yardoc_task'

namespace :lint do
  desc 'Lint inline documentation'
  Inch::Rake::Suggest.new(:docs)

  desc 'Lint Ruby code'
  RuboCop::RakeTask.new(:ruby)
end

task lint: %w(lint:docs lint:ruby)

RSpec::Core::RakeTask.new(:spec)

desc 'Generate API documentation'
YARD::Rake::YardocTask.new

task default: %i(lint spec)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gatehouse-0.0.1 Rakefile
gatehouse-0.0.0 Rakefile