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
157 158 159 160 161 162 163 164 165 166 |
# File 'lib/tebako/build_commands.rb', line 157 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 |