Sha256: bdbd15f02971a782fe664b63b445f58ce3bebfb5c74da8e7a3576148f91ac267
Contents?: true
Size: 905 Bytes
Versions: 5
Compression:
Stored size: 905 Bytes
Contents
# frozen_string_literal: true require 'rails/generators' class TestAppGenerator < Rails::Generators::Base source_root './spec/test_app_templates' # if you need to generate any additional configuration # into the test app, this generator will be run immediately # after setting up the application def add_gems gem 'blacklight', '~> 7.0' gem 'geoblacklight', '~> 2.0' Bundler.with_clean_env do run 'bundle install' end end def run_blacklight_generator say_status('warning', 'GENERATING BL', :yellow) generate 'blacklight:install', '--devise' end def run_geoblacklight_generator say_status('warning', 'GENERATING GBL', :yellow) generate 'geoblacklight:install', '--force' end def run_geoblacklight_sidecar_images_generator say_status('warning', 'GENERATING GBLSI', :yellow) generate 'geoblacklight_sidecar_images:install' end end
Version data entries
5 entries across 5 versions & 1 rubygems