Sha256: 5a333fe4a797260d483594a85ba199a8f248ced174f4752e72bf83add52a3736

Contents?: true

Size: 521 Bytes

Versions: 332

Compression:

Stored size: 521 Bytes

Contents

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

332 entries across 332 versions & 82 rubygems

Version Path
danger-SwiftInfo-0.0.2 Rakefile
danger-SwiftInfo-0.0.1 Rakefile
danger-duplicate_localizable_strings-0.0.4 Rakefile
danger-jira_issue_links-0.1.1 Rakefile
danger-jira_issue_links-0.1.0 Rakefile
danger-go-0.0.5 Rakefile
danger-go-0.0.4 Rakefile
danger-go-0.0.3 Rakefile
danger-go-0.0.2 Rakefile
danger-go-0.0.1 Rakefile
danger-jira-0.6.0 Rakefile
danger-android_lint-0.0.7 Rakefile
danger-xcprofiler-0.4.0 Rakefile
danger-rubocop_junit_parser-0.0.2 Rakefile
danger-static_analyzer_comments-0.0.2 Rakefile
danger-static_analyzer_comments-0.0.1 Rakefile
danger-textlint-1.2.2 Rakefile
danger-jacoco-0.1.4 Rakefile
danger-reviewer-0.0.5 Rakefile
danger-reek-0.2.1 Rakefile