Sha256: 10fe05767bdae19a97240b7f073fb903e155f5eeb60389296c926a07f1ea08d0
Contents?: true
Size: 687 Bytes
Versions: 36
Compression:
Stored size: 687 Bytes
Contents
# frozen_string_literal: true require 'rails/generators' class TestAppGenerator < Rails::Generators::Base source_root File.expand_path('../../../test_app_templates', __dir__) def remove_index remove_file "public/index.html" end def run_blacklight_generator say_status("warning", "GENERATING BL", :yellow) Bundler.with_clean_env do run "bundle install" end options = '--devise' if ENV['BLACKLIGHT_API_TEST'] options += ' --skip-assets' end generate 'blacklight:install', options end def run_test_support_generator say_status("warning", "GENERATING test_support", :yellow) generate 'blacklight:test_support' end end
Version data entries
36 entries across 36 versions & 2 rubygems