Sha256: b5fc357ebf0bdd486e275594340400d8013e939326fdc77e4ada3b2c8fa60d84

Contents?: true

Size: 533 Bytes

Versions: 4

Compression:

Stored size: 533 Bytes

Contents

# frozen_string_literal: true

require 'rake/clean'
require 'bundler/gem_tasks'
require 'rubocop'
require 'rubocop/rake_task'
require 'rspec/core/rake_task'
require 'yard'

CLEAN << '.yardoc'
CLOBBER << 'doc' << 'coverage'

RSpec::Core::RakeTask.new(:spec)
YARD::Rake::YardocTask.new { |t| t.stats_options = %w[--list-undoc] }

RuboCop::RakeTask.new(:rubocop) do |task|
  task.formatters = ['simple']
  task.fail_on_error = true
end

desc 'Run Prettier'
task(:prettier) { sh 'npm run lint' }

task default: %i[spec rubocop prettier]

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ears-0.14.1 Rakefile
ears-0.14.0 Rakefile
ears-0.13.0 Rakefile
ears-0.12.0 Rakefile