Class: Tebako::ApplicationCommand
- Inherits:
-
BuildCommandBase
- Object
- Thor
- BuildCommandBase
- Tebako::ApplicationCommand
- Defined in:
- lib/tebako/build_commands.rb
Overview
tebako application build command group.
Instance Method Summary collapse
Instance Method Details
#build ⇒ Object
149 150 151 152 153 154 155 156 157 158 |
# File 'lib/tebako/build_commands.rb', line 149 def build output = ["output"].sub(/\.tebako\z/, "") inferred_ruby = runtime_ruby_version(["runtime"]) extra = { "mode" => "application", "ref" => ["runtime"], "output" => output } extra["Ruby"] = inferred_ruby if inferred_ruby && !["Ruby"] run_reported(extra) do || scenario = configure_scenario() Tebako::ApplicationBuilder.new(, scenario).build end end |