Sha256: 29308506348c86e2b260ed61c9d3392416657c741b0fba16dd501b0d4a6178b5

Contents?: true

Size: 905 Bytes

Versions: 5

Compression:

Stored size: 905 Bytes

Contents

#!/usr/bin/env rake
# frozen_string_literal: true

begin
  require "bundler/setup"
rescue LoadError
  puts "You must `gem install bundler` and `bundle install` to run rake tasks"
end

Bundler::GemHelper.install_tasks

begin
  require "rake/testtask"
  require "rubocop/rake_task"

  RuboCop::RakeTask.new(:rubocop) do |t|
    t.options = ["--display-cop-names"]
  end
rescue LoadError
  # no rspec available
end

begin
  require "rspec/core/rake_task"

  RSpec::Core::RakeTask.new(:spec)
rescue LoadError
  # no rspec available
end

# Documentation
require "rdoc/task"

RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = "rdoc"
  rdoc.title    = "Confset #{Confset::VERSION}"
  rdoc.options << "--line-numbers"
  rdoc.rdoc_files.include("README.*")
  rdoc.rdoc_files.include("CHANGELOG.*")
  rdoc.rdoc_files.include("LICENSE.*")
  rdoc.rdoc_files.include("lib/**/*.rb")
end

task default: %i[rubocop spec]

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
confset-1.1.0 Rakefile
confset-1.0.3 Rakefile
confset-1.0.2 Rakefile
confset-1.0.1 Rakefile
confset-1.0.0 Rakefile