Sha256: 8d39b1dd63cdfc2bf90e3c177231e02e01d4237728916fc7d5cbc0d7703c85b7

Contents?: true

Size: 513 Bytes

Versions: 4

Compression:

Stored size: 513 Bytes

Contents

require 'bundler/setup'
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 code style'
  RuboCop::RakeTask.new(:ruby)
end

desc 'Run all linters'
task lint: %w(lint:ruby lint:docs)

desc 'Run all tests'
RSpec::Core::RakeTask.new(:spec)

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

task default: %i(lint spec)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kibana-rack-0.2.0 Rakefile
kibana-rack-0.1.4 Rakefile
kibana-rack-0.1.3 Rakefile
kibana-rack-0.1.2 Rakefile