Sha256: bce24bb9a670abd7fdf5e74143bc2c9a4467caa77323f33cd835380368d0a2a9
Contents?: true
Size: 1.29 KB
Versions: 1
Compression:
Stored size: 1.29 KB
Contents
module Harpiya module Frontend module Generators class InstallGenerator < Rails::Generators::Base desc 'Installs Harpiya rails storefront' def self.source_paths [ File.expand_path('templates', __dir__), File.expand_path('../templates', "../#{__FILE__}"), File.expand_path('../templates', "../../#{__FILE__}"), File.expand_path('../../../../../app/views/harpiya', __dir__), File.expand_path('../../../../../app/assets/images', __dir__), File.expand_path('../../../../../app/assets/stylesheets/harpiya/frontend/variables', __dir__) ] end def install template 'vendor/assets/javascripts/harpiya/frontend/all.js' template 'vendor/assets/stylesheets/harpiya/frontend/all.css' # static images directory 'noimage', './app/assets/images/noimage' directory 'homepage', './app/assets/images/homepage' # SCSS theming template 'variables.scss', './app/assets/stylesheets/harpiya/frontend/variables/variables.scss' # Sprockets 4 manifest template 'app/assets/config/manifest.js' # home page template directory 'home', './app/views/harpiya/home' end 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/install/install_generator.rb |