Sha256: 40aed236aaafcba836e32387c0f1d41a1bf6dd1f09d1ea08e24c9d79bbed984d

Contents?: true

Size: 294 Bytes

Versions: 5

Compression:

Stored size: 294 Bytes

Contents

require "rails/generators"

module Suspenders
  class LintGenerator < Rails::Generators::Base
    source_root File.expand_path(
      File.join("..", "..", "..", "templates"),
      File.dirname(__FILE__),
    )

    def set_up_hound
      copy_file "hound.yml", ".hound.yml"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
suspenders-1.50.0 lib/suspenders/generators/lint_generator.rb
suspenders-1.49.0 lib/suspenders/generators/lint_generator.rb
suspenders-1.48.0 lib/suspenders/generators/lint_generator.rb
suspenders-1.47.0 lib/suspenders/generators/lint_generator.rb
suspenders-1.46.0 lib/suspenders/generators/lint_generator.rb