Class: Photish::Command::Generate
- Defined in:
- lib/photish/command/generate.rb
Instance Method Summary collapse
Methods inherited from Base
Methods included from Log::SafeBlock
Methods included from Log::Loggable
Constructor Details
This class inherits a constructor from Photish::Command::Base
Instance Method Details
#run ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/photish/command/generate.rb', line 4 def run log.debug "Generating with #{workers} workers and #{threads} threads" master_db_file_clear if force_regeneration? spawn_all_workers load_all_plugins wait_for_workers_to_complete concat_worker_db_files perform_serial_generation log.debug "Generation completed successfully" end |