8
9
10
11
12
13
14
15
16
|
# File 'lib/generators/nkss/install_generator.rb', line 8
def install_steps
copy_file '1.html.haml', 'app/views/styleguides/1.html.haml'
copy_file 'styleguides.yml', 'config/styleguides.yml'
copy_file 'styleguide-extras.scss', 'app/assets/stylesheets/styleguide-extras.scss'
copy_file 'example-for-styleguides.css', 'app/assets/stylesheets/example-for-styleguides.css'
copy_file 'styleguide.html.haml', 'app/views/layouts/styleguide.html.haml'
route "mount Nkss::Engine => '/styleguides' if Rails.env.development?"
end
|