Sha256: afbbbb792eba3db19865ecffd63cf67a78ba71486012607ab0e485ad09802484
Contents?: true
Size: 507 Bytes
Versions: 1
Compression:
Stored size: 507 Bytes
Contents
require 'rails/generators' class TestAppGenerator < Rails::Generators::Base source_root File.expand_path("../../../../test_app_templates", __FILE__) 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 generate 'blacklight:install' end def run_gallery_install generate 'blacklight_unapi:install' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blacklight_unapi-0.1.0 | spec/test_app_templates/lib/generators/test_app_generator.rb |