Sha256: f4fe55dee0866e2c95555736dbca74363598e75ac6417571274534e556d36803
Contents?: true
Size: 586 Bytes
Versions: 3
Compression:
Stored size: 586 Bytes
Contents
# frozen_string_literal: true require 'rails/generators' class BrowseEverything::InstallGenerator < Rails::Generators::Base class_option :'skip-assets', type: :boolean, default: false, desc: 'Skip generating javascript and css assets into the application' desc 'This generator installs the browse everything configuration and assets into your application' source_root File.expand_path('templates', __dir__) def inject_config generate 'browse_everything:config' end def inject_assets generate 'browse_everything:assets' unless options[:'skip-assets'] end end
Version data entries
3 entries across 3 versions & 1 rubygems