Sha256: 44a71bc8876b18156a1cfabffffb8dcbd776920700ca7825055d5fb0da41b911

Contents?: true

Size: 552 Bytes

Versions: 77

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

77 entries across 77 versions & 22 rubygems

Version Path
danger-missing_codeowners-1.2.2 Rakefile
danger-compose_compiler_metrics-0.0.4 Rakefile
danger-compose_compiler_metrics-0.0.3 Rakefile
danger-missing_codeowners-1.2.1 Rakefile
danger-compose_compiler_metrics-0.0.2 Rakefile
danger-compose_compiler_metrics-0.0.1 Rakefile
danger-l10nlint-0.0.12 Rakefile
danger-l10nlint-0.0.11 Rakefile
danger-l10nlint-0.0.10 Rakefile
danger-space_checkstyle_reports-1.0.3 Rakefile
danger-chikuwatter-1.0.0 Rakefile
danger-missing_codeowners-1.2.0 Rakefile
danger-asana-0.0.4 Rakefile
danger-missing_codeowners-1.1.0 Rakefile
danger-space_checkstyle_reports-1.0.2 Rakefile
ktlint_reporter-1.0.1 Rakefile
ktlint_reporter-1.0.0 Rakefile
ktlint_reporter-0.1.2 Rakefile
ktlint_reporter-0.1.1 Rakefile
ktlint_reporter-0.1.0 Rakefile