Sha256: bba6f6f13373b1df44f97d742df347811c429bd5f28ac06c8a631c83e944f1d1
Contents?: true
Size: 599 Bytes
Versions: 1
Compression:
Stored size: 599 Bytes
Contents
module Harpiya module Frontend class CopyStorefrontGenerator < Rails::Generators::Base desc 'Copies all storefront views and stylesheets from harpiya frontend to your application' def self.source_paths [ File.expand_path('../../../../../app', __dir__), File.expand_path('../../../../../app/assets/stylesheets/harpiya/frontend', __dir__), ] end def copy_storefront directory 'views', './app/views' template 'application.scss', './app/assets/stylesheets/harpiya/frontend/application.scss' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
harpiya_frontend-4.3.0.alpha | lib/generators/harpiya/frontend/copy_storefront/copy_storefront_generator.rb |