Method: Launcher.wrapper_js

Defined in:
lib/xiki/launcher.rb

.wrapper_js(dir, file, path) ⇒ Object



1127
1128
1129
1130
1131
# File 'lib/xiki/launcher.rb', line 1127

def self.wrapper_js dir, file, path
  output = Console.run "node #{Xiki.dir}etc/wrappers/wrapper.js \"#{dir}#{file}\" \"#{path}\"", :sync=>1, :dir=>dir
  output = Tree.children output, path
  Tree << output
end