Sha256: 7257b5cc0b1a4c0e4c7f0aef15581f4cd4829e1c3e6d987dd6796ba03bce6d6a
Contents?: true
Size: 671 Bytes
Versions: 1
Compression:
Stored size: 671 Bytes
Contents
# frozen_string_literal: true require 'rails/generators/named_base' module EnginePack module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __dir__) desc 'Generates configuration for EnginePack.' class_option :package_manager, desc: 'Specify the JavaScript package manager to configure. (yarn, npm)', type: :string, default: 'npm' def copy_initializer template 'initializer.rb', 'config/initializers/engine_pack.rb' end def show_post_install readme 'POST_INSTAll' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
engine_pack-0.2.0 | lib/generators/engine_pack/install_generator.rb |