Sha256: 44e4fa7f494797518613c99b41e2ecd5d922a0261e8adbb67496a03b65fb8162

Contents?: true

Size: 552 Bytes

Versions: 7

Compression:

Stored size: 552 Bytes

Contents

require "bundler/gem_tasks"
Bundler::GemHelper.install_tasks

require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:spec)
task default: :spec

task :pry do
  require "pry"
  require "awesome_print"
  require "index_html"
  include IndexHtml
  ARGV.clear
  Pry.start
end

require "rubocop/rake_task"
desc "Run RuboCop on the lib directory"
RuboCop::RakeTask.new(:rubocop) do |task|
  task.patterns = ["lib/**/*.rb"]
  # only show the files with failures
  task.formatters = ["files"]
  # don't abort rake on failure
  task.fail_on_error = false
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
index_html-0.2.5 Rakefile
index_html-0.2.4 Rakefile
index_html-0.2.3 Rakefile
index_html-0.2.2 Rakefile
index_html-0.2.1 Rakefile
index_html-0.2.0 Rakefile
index_html-0.1.4 Rakefile