Sha256: 9711c956d5a14f1c5e3bb04b34fb1319e99dc9eda8c982941e7f5796f254e3a8

Contents?: true

Size: 299 Bytes

Versions: 5

Compression:

Stored size: 299 Bytes

Contents

# typed: false
# frozen_string_literal: true

require "rake/testtask"

if Rails.env.development? || Rails.env.test?
  begin
    require "rubocop/rake_task"

    RuboCop::RakeTask.new(:rubocop)
  rescue LoadError => e
    warn("WARNING: rubocop is not available in this environment: #{e}")
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hephaestus-0.5.0 templates/lib/tasks/test_tasks.rake
hephaestus-0.4.0 templates/lib/tasks/test_tasks.rake
hephaestus-0.3.1 templates/lib/tasks/test_tasks.rake
hephaestus-0.2.3 templates/lib/tasks/test_tasks.rake
hephaestus-0.2.2 templates/lib/tasks/test_tasks.rake