Class: TRMNLP::Commands::Build

Inherits:
Base
  • Object
show all
Defined in:
lib/trmnlp/commands/build.rb

Defined Under Namespace

Classes: Options

Instance Method Summary collapse

Methods inherited from Base

#initialize, options_from, run

Constructor Details

This class inherits a constructor from TRMNLP::Commands::Base

Instance Method Details

#callObject



16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/trmnlp/commands/build.rb', line 16

def call
  context.validate!
  report_form_field_warnings
  context.poller.poll_data
  context.paths.create_build_dir

  Screen.all.each { |screen| build_screen(screen) }

  reporter.info 'Done!'
ensure
  @browser_pool&.shutdown
end