Sha256: 3b76af6da79604f3544d90c63720680217a9f8c279f92e05ee0e83856c5ccf14
Contents?: true
Size: 647 Bytes
Versions: 15
Compression:
Stored size: 647 Bytes
Contents
require 'rails/generators' class TestAppGenerator < Rails::Generators::Base source_root File.expand_path("../../../../support", __FILE__) def run_blacklight_generator say_status("warning", "GENERATING BL", :yellow) generate 'blacklight', '--devise' end def run_hydra_head_generator say_status("warning", "GENERATING HH", :yellow) generate 'hydra:head', '-f' end def run_sufia_generator say_status("warning", "GENERATING SUFIA", :yellow) generate 'sufia', '-f' remove_file 'spec/factories/users.rb' end def remove_index_page remove_file 'public/index.html' end end
Version data entries
15 entries across 15 versions & 1 rubygems