Method: Node::Compiler#compile
- Defined in:
- lib/node/compiler.rb
#compile ⇒ Object
123 124 125 126 127 128 129 130 |
# File 'lib/node/compiler.rb', line 123 def compile Utils.chdir(@vendor_node) do Utils.run("./configure") Utils.run("make #{@options[:make_args]}") end STDERR.puts "-> FileUtils.cp(#{File.join(@vendor_node, 'out/Release/node')}, #{@options[:output]})" FileUtils.cp(File.join(@vendor_node, 'out/Release/node'), @options[:output]) end |