Sha256: d3015dc6317d334aaf3e98b1427d328b5b7e4b23395533fe6a65093b5e49a879

Contents?: true

Size: 472 Bytes

Versions: 5

Compression:

Stored size: 472 Bytes

Contents

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'rubocop/rake_task'

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

task default: [:spec, :rubocop, :spec_docs]

desc 'Run RuboCop on the lib/specs directory'
RuboCop::RakeTask.new(:rubocop) do |task|
  task.patterns = ['lib/**/*.rb', 'spec/**/*.rb']
  task.options = ['--display-cop-names']
end

desc 'Ensure that the plugin passes `danger plugins lint`'
task :spec_docs do
  sh 'bundle exec danger plugins lint'
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
danger-angular_commit_lint-1.1.2 Rakefile
danger-commit_lint-0.0.6 Rakefile
danger-commit_lint-0.0.5 Rakefile
danger-commit_lint-0.0.4 Rakefile
danger-commit_lint-0.0.3 Rakefile