Class: Suspenders::LintGenerator

Inherits:
Generators::Base show all
Defined in:
lib/suspenders/generators/lint_generator.rb

Instance Method Summary collapse

Methods inherited from Generators::Base

default_source_root, inherited

Methods included from Actions

#action_mailer_asset_host, #action_mailer_host, #configure_environment, #expand_json, #replace_in_file

Instance Method Details

#set_up_houndObject



5
6
7
# File 'lib/suspenders/generators/lint_generator.rb', line 5

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

#set_up_standardObject



9
10
11
12
# File 'lib/suspenders/generators/lint_generator.rb', line 9

def set_up_standard
  gem "standard", group: :development
  prepend_to_file("Rakefile", 'require "standard/rake"')
end