Sha256: e1bd97b32a904966fb57e7f72872bcb41fbed1f4276c746a9f5bd71512c4ab2d

Contents?: true

Size: 523 Bytes

Versions: 4

Compression:

Stored size: 523 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

4 entries across 4 versions & 1 rubygems

Version Path
danger-android_lint-0.0.12 Rakefile
danger-android_lint-0.0.11 Rakefile
danger-android_lint-0.0.10 Rakefile
danger-android_lint-0.0.9 Rakefile