Sha256: 0839fd282e783f3790666507b50fa205df365ea7faea13a17c7ac41afeb911db

Contents?: true

Size: 495 Bytes

Versions: 1

Compression:

Stored size: 495 Bytes

Contents

# frozen_string_literal: true

require 'rubygems'
require 'bundler/gem_tasks'

Bundler.setup :default, :development

require 'rspec/core'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = FileList['spec/**/*_spec.rb']
end

require 'rubocop/rake_task'
RuboCop::RakeTask.new(:rubocop)

task default: %i[rubocop spec]

namespace :benchmark do
  desc 'Run benchmark for the Ruby::Enum::Case'
  task :case do
    require_relative 'benchmarks/case'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-enum-1.0.0 Rakefile