Class: Frozen::Generators::RailsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Frozen::Generators::RailsGenerator
- Defined in:
- lib/generators/frozen/rails_generator.rb
Constant Summary
Constants included from Nodeable
Nodeable::REQUIRED_EXECUTABLES
Instance Method Summary collapse
Instance Method Details
#check_prerequisites ⇒ Object
12 13 14 15 16 |
# File 'lib/generators/frozen/rails_generator.rb', line 12 def check_prerequisites in_root do require_js_toolchain! end end |
#run_all ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/generators/frozen/rails_generator.rb', line 18 def run_all say_status :info, "invoking frozen:md" invoke "frozen:md", [], cleanup_frozen_tags: false say_status :info, "invoking frozen:ssg" invoke "frozen:ssg", [], cleanup_frozen_tags: false say_status :info, "invoking frozen:db" invoke "frozen:db", [], cleanup_frozen_tags: false say_status :info, "invoking frozen:ui" invoke "frozen:ui", [], cleanup_frozen_tags: false # say_status :info, "invoking frozen:seo" # invoke "frozen:seo", [], cleanup_frozen_tags: false end |