Sha256: 17ef702b8e465e0f79b95855f4be6f73afb67997163ec2266e2fca1d482448e1
Contents?: true
Size: 552 Bytes
Versions: 1
Compression:
Stored size: 552 Bytes
Contents
require "rails/generators" module Suspenders class StylesheetBaseGenerator < Rails::Generators::Base source_root File.expand_path( File.join("..", "..", "..", "templates"), File.dirname(__FILE__)) def add_stylesheet_gems gem "bourbon", "5.0.0.beta.6" end def add_css_config copy_file( "application.sass", "app/assets/stylesheets/application.sass", force: true, ) end def remove_prior_config remove_file "app/assets/stylesheets/application.css" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
welaika-suspenders-2.25.0 | lib/suspenders/generators/stylesheet_base_generator.rb |