Sha256: 3df5cf5f860425151a2cd46f84a034cafb0c8566eb493f115747efb57cccc94f
Contents?: true
Size: 909 Bytes
Versions: 4
Compression:
Stored size: 909 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_unbundled_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
4 entries across 4 versions & 1 rubygems