Sha256: 63fdd8df0f4ee339182e46ebf802b4500ca3c19e6de52bcef4d1c0300c2c3313
Contents?: true
Size: 709 Bytes
Versions: 2
Compression:
Stored size: 709 Bytes
Contents
module SpreeVariantOptions module Generators class InstallGenerator < Rails::Generators::Base desc "Installs required migrations for spree_essentials" def copy_migrations rake "spree_variant_options:install:migrations" end def add_javascripts append_file "app/assets/javascripts/store/all.js", "//= require store/product_variant_options\n" append_file "app/assets/javascripts/store/all.js", "//= require store/variant_options\n" end def add_stylesheets inject_into_file "app/assets/stylesheets/store/all.css", "*= require store/variant_options\n", :before => /\*\//, :verbose => true end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_variant_options-0.4.1 | lib/generators/spree_variant_options/install_generator.rb |
spree_variant_options-0.4.0 | lib/generators/spree_variant_options/install_generator.rb |