mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-03 09:45:14 +08:00
13 lines
317 B
Ruby
Executable File
13 lines
317 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
|
|
# We do all this work just to find the proper load path
|
|
path = __FILE__
|
|
while File.symlink?(path)
|
|
path = File.expand_path(File.readlink(__FILE__), File.dirname(__FILE__))
|
|
end
|
|
$:.unshift(File.join(File.dirname(File.expand_path(path)), '..', 'lib'))
|
|
|
|
require 'yard'
|
|
|
|
YARD::CLI::Yardoc.run(*ARGV)
|