Sha256: 6466a39e10fe692fc6c320489754e86fa15ca8da1b26b013e483cc15dbfbfcec

Contents?: true

Size: 487 Bytes

Versions: 1

Compression:

Stored size: 487 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "rubocop/rake_task"

RSpec::Core::RakeTask.new(:spec) do |t|
  t.rspec_opts = %w[--format documentation --color --require spec_helper]
  t.rspec_opts += %w[--format RspecJunitFormatter --out rspec.xml] if ENV['GITLAB_CI']
end

RuboCop::RakeTask.new

task default: %i[spec rubocop]

desc 'Code coverage detail'
task :simplecov do
  ENV['COVERAGE'] = 'true'
  Rake::Task['spec'].execute
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tanuki_emoji-0.1.0 Rakefile