Sha256: c6c7c212117592950efd32564e6ac435b9f5ad89f2d1354a37be2234dc3f0646

Contents?: true

Size: 552 Bytes

Versions: 67

Compression:

Stored size: 552 Bytes

Contents

# frozen_string_literal: true

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

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

task default: :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

67 entries across 67 versions & 12 rubygems

Version Path
danger-yajp-0.1.2 Rakefile
danger-yajp-0.1.1 Rakefile
danger-yajp-0.1.0 Rakefile
danger-yajp-0.0.2 Rakefile
danger-yajp-0.0.1 Rakefile
danger-undercover-1.1.0 Rakefile
danger-undercover-1.0.0 Rakefile
danger-reek-0.3.0 Rakefile
danger-rcov-2.0.5 Rakefile
danger-rcov-2.0.4 Rakefile
simplecov-shield-json-1.0.1 Rakefile
simplecov-shield-json-0.0.6 Rakefile
danger-rcov-2.0.3 Rakefile
simplecov-shield-json-0.0.5 Rakefile
simplecov-shield-json-0.0.4 Rakefile
danger-rcov-2.0.2 Rakefile
danger-rcov-2.0.1 Rakefile
danger-rcov-1.0.5 Rakefile
danger-rcov-1.0.4 Rakefile
danger-rcov-1.0.3 Rakefile