Class: Gembrew::Commands::Check

Inherits:
MisterBin::Command
  • Object
show all
Defined in:
lib/gembrew/commands/check.rb

Instance Method Summary collapse

Instance Method Details

#runObject



15
16
17
18
19
20
21
22
23
# File 'lib/gembrew/commands/check.rb', line 15

def run
  configs.each do |config|
    say "bb`==> gembrew: building #{config.name}`"
    output_path = Generator.new(config: config).call
    say "Generated m`#{output_path}`"
    DockerCheck.new.call output_path.basename('.rb').to_s
  end
  say 'g`All checks passed`'
end