File: yardoc

package info (click to toggle)
yard 0.9.37-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,720 kB
  • sloc: ruby: 31,354; javascript: 7,608; makefile: 21
file content (13 lines) | stat: -rwxr-xr-x 347 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env ruby
# frozen_string_literal: true

# We do all this work just to find the proper load path
path = __FILE__
while File.symlink?(path)
  path = File.expand_path(File.readlink(path), File.dirname(path))
end
$LOAD_PATH.unshift(File.join(File.dirname(File.expand_path(path)), '..', 'lib'))

require 'yard'

YARD::CLI::Yardoc.run(*ARGV)