Sha256: ee0316d0736c2388d85d641809cf52333f62cc755d1d5217fafa0a2d87cccaa2

Contents?: true

Size: 347 Bytes

Versions: 5

Compression:

Stored size: 347 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['spec_docs'].invoke
end

desc 'Ensure that the plugin passes `danger plugins lint`'
task :spec_docs do
  sh 'bundle exec danger plugins lint'
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
danger-php_codesniffer-0.1.7 Rakefile
danger-php_codesniffer-0.1.6 Rakefile
danger-php_codesniffer-0.1.5 Rakefile
danger-php_codesniffer-0.1.4 Rakefile
danger-php_codesniffer-0.1.3 Rakefile