Loading lib/jsduck.rb→bin/jsduck +3 −4 Original line number Diff line number Diff line #!/usr/bin/env ruby # JsDuck is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or Loading @@ -13,12 +14,12 @@ # # Copyright 2010 Rene Saarsoo. $:.unshift File.dirname(__FILE__) # For running the actual JsDuck app # For running when gem not installed $:.unshift File.dirname(File.dirname(__FILE__)) + "/lib" require 'jsduck/app' require 'optparse' if __FILE__ == $0 then app = JsDuck::App.new app.template_dir = File.dirname(File.dirname(__FILE__)) + "/template" Loading Loading @@ -60,5 +61,3 @@ if __FILE__ == $0 then end app.run() end Loading
lib/jsduck.rb→bin/jsduck +3 −4 Original line number Diff line number Diff line #!/usr/bin/env ruby # JsDuck is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or Loading @@ -13,12 +14,12 @@ # # Copyright 2010 Rene Saarsoo. $:.unshift File.dirname(__FILE__) # For running the actual JsDuck app # For running when gem not installed $:.unshift File.dirname(File.dirname(__FILE__)) + "/lib" require 'jsduck/app' require 'optparse' if __FILE__ == $0 then app = JsDuck::App.new app.template_dir = File.dirname(File.dirname(__FILE__)) + "/template" Loading Loading @@ -60,5 +61,3 @@ if __FILE__ == $0 then end app.run() end