Commit 972607a0 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Make bin/jsduck work as input file to ocra.

With the require-rubygems section the file can be run from any
directory as it will know from where to load the jsduck library
files under Windows.
parent ed28ed46
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
# For running when gem not installed
$:.unshift File.dirname(File.dirname(__FILE__)) + "/lib"

require 'rubygems'
require 'jsduck/app'
require 'jsduck/options'