Class: Ruby2exe::Cli::BuildCommand
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- Ruby2exe::Cli::BuildCommand
- Defined in:
- lib/ruby2exe/cli/build_command.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
10 11 12 13 14 15 |
# File 'lib/ruby2exe/cli/build_command.rb', line 10 def execute cores = Ruby2exe.cores + 1 tmpdir = Dir.mktmpdir `"#{Ruby2exe.rubyc_path}" rubyc -d #{tmpdir} -o #{name} --make-args="-j#{cores}" #{name}` end |