Sha256: b0760b80e75b2952e8ba319fd49a9d53987da625149d2512624930f39206e23b
Contents?: true
Size: 624 Bytes
Versions: 13
Compression:
Stored size: 624 Bytes
Contents
require 'rails/generators' class TestAppGenerator < Rails::Generators::Base def add_gems gem 'blacklight' Bundler.with_clean_env do run 'bundle install' end end def run_blacklight_generator say_status('warning', 'GENERATING BL', :yellow) generate 'blacklight:install' end def run_hierarchy_install generate 'blacklight_hierarchy:install' end def create_images_directory run 'mkdir app/assets/images' end def add_js_reference inject_into_file 'app/assets/config/manifest.js', "\n//= link application.js", after: '//= link_directory ../stylesheets .css' end end
Version data entries
13 entries across 13 versions & 1 rubygems