Sha256: 6d46cee3bd12da25d2976417b066a0fc04c3a8382dd926f5842af504d45e6867
Contents?: true
Size: 763 Bytes
Versions: 2
Compression:
Stored size: 763 Bytes
Contents
# frozen_string_literal: true require 'bundler/gem_tasks' require 'rspec/core/rake_task' require 'rubocop/rake_task' require 'yard' require 'circleci_reporter/rake_task' require 'rubycritic/rake_task' RSpec::Core::RakeTask.new do |task| task.verbose = false end RuboCop::RakeTask.new YARD::Rake::YardocTask.new CircleCIReporter.configure do |config| config.reporters << CircleCIReporter::Reporters::Link.new(path: 'doc/index.html', name: 'YARD') end desc 'Run RubyCritic' task :rubycritic do base_options = "-p #{ENV['CIRCLE_ARTIFACTS'] || '.'}/rubycritic --mode-ci --no-browser" sh "bundle exec rubycritic #{base_options} -f html lib" sh "bundle exec rubycritic #{base_options} -f json lib" if ENV['CIRCLECI'] end task default: %i[spec rubocop]
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
circleci_reporter-1.0.1 | Rakefile |
circleci_reporter-1.0.0 | Rakefile |