Sha256: 05b61d02f0e42ec0e97a566abcf964596540e2d9a438221b42a7502050da5202
Contents?: true
Size: 505 Bytes
Versions: 51
Compression:
Stored size: 505 Bytes
Contents
require 'rails/generators' class TestAppGenerator < Rails::Generators::Base # Generator is executed from /path/to/qa_server/.internal_test_app/lib/generators/test_app_generator/ # so the following path gets us to /path/to/qa_server/spec/test_app_templates/ source_root File.expand_path('../../../../spec/test_app_templates/', __FILE__) def install_engine generate 'qa_server:install', '-f' end def banner say_status("info", "ADDING OVERRIDES FOR TEST ENVIRONMENT", :blue) end end
Version data entries
51 entries across 51 versions & 1 rubygems