Sha256: c29321d79a1245ef692804f3b31bd177bf009310da5a20b93ddf799a7050e936
Contents?: true
Size: 517 Bytes
Versions: 19
Compression:
Stored size: 517 Bytes
Contents
require "bundler/gem_tasks" require "rspec/core/rake_task" require "rubocop/rake_task" RSpec::Core::RakeTask.new(:specs) task default: :spec 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 = %w(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
19 entries across 19 versions & 1 rubygems