Sha256: 3fa0daed7a24d8e29f27e20fc29f5f0d73a6d69980b5399cb2ec1e88270d2509

Contents?: true

Size: 521 Bytes

Versions: 13

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

13 entries across 13 versions & 4 rubygems

Version Path
danger-todoist-2.0.1 Rakefile
danger-todoist-2.0.0 Rakefile
danger-todoist-1.3.0 Rakefile
danger-yamllint-0.0.1 Rakefile
danger-favro-1.0.2 Rakefile
danger-favro-1.0.1 Rakefile
danger-missed_localizable_strings-1.0.3 Rakefile
danger-favro-1.0.0 Rakefile
danger-missed_localizable_strings-1.0.2 Rakefile
danger-todoist-1.2.3 Rakefile
danger-todoist-1.2.2 Rakefile
danger-todoist-1.2.1 Rakefile
danger-todoist-1.2.0 Rakefile