Sha256: d3346d850a14fb73616137fd0caa56d9baeff30dbab5b14ccf47303ef033d034

Contents?: true

Size: 673 Bytes

Versions: 7

Compression:

Stored size: 673 Bytes

Contents

# frozen_string_literal: true

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


# temp fix for NoMethodError: undefined method `last_comment'
# remove when fixed in Rake 11.x and higher
module TempFixForRakeLastComment
  def last_comment
    last_description
  end
end
Rake::Application.send :include, TempFixForRakeLastComment
### end of tempfix

RSpec::Core::RakeTask.new(:spec)

require "rubocop/rake_task"

RuboCop::RakeTask.new

require "rake/extensiontask"

task build: :compile

Rake::ExtensionTask.new("smarter_csv") do |ext|
  ext.ext_dir = "ext/smarter_csv"
end

# task default: %i[clobber compile spec rubocop]
task default: %i[clobber compile spec]

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
smarter_csv-1.8.5 Rakefile
smarter_csv-1.8.4 Rakefile
smarter_csv-1.8.3 Rakefile
smarter_csv-1.8.2 Rakefile
smarter_csv-1.8.1 Rakefile
smarter_csv-1.8.0 Rakefile
smarter_csv-1.7.4 Rakefile