Class: Gem2exe::Cli::LocalCommand
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- Gem2exe::Cli::LocalCommand
- Defined in:
- lib/gem2exe/cli/local_command.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/gem2exe/cli/local_command.rb', line 11 def execute Gem2exe.ensure_setup out_with_path = out || entrypoint = if path File.(path) else Dir.pwd end builder = Builder.new path: , entrypoint: entrypoint, out: out_with_path, cache_dir: cache_dir builder.build end |