Sha256: 4fb728fb4f652c02d47a81277fe406fca7346637a1c1f2685652465c86fa2bc6

Contents?: true

Size: 533 Bytes

Versions: 5

Compression:

Stored size: 533 Bytes

Contents

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

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

task default: [:rubocop, :specs]

task :spec do
  Rake::Task['specs'].invoke
  Rake::Task['rubocop'].invoke
  Rake::Task['spec_docs'].invoke
end

desc 'Run RuboCop on the lib/specs directory'
RuboCop::RakeTask.new(:rubocop) do |task|
  task.patterns = ['lib/**/*.rb', 'spec/**/*.rb']
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-clubhouse-0.0.2 Rakefile
danger-clubhouse-0.0.1 Rakefile
danger-changelog-0.2.1 Rakefile
danger-changelog-0.2.0 Rakefile
danger-changelog-0.1.0 Rakefile