Sha256: 9577544ee79a6852f9ff6e9d38deabd2c87b98325a5365ba831e7badebdf40f3
Contents?: true
Size: 905 Bytes
Versions: 3
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', '>= 3.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
3 entries across 3 versions & 1 rubygems