olddoc.git  about / heads / tags
olddoc - old-fashioned RDoc generator(s)
blob f7e80fbd4521b55988be39b2364480a4949b2e41 423 bytes (raw)
$ git show v1.3.0:bin/olddoc	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
#!/usr/bin/env ruby
# Copyright (C) 2015, all contributors <olddoc-public@80x24.org>
$stderr.sync = $stdout.sync = true
tasks = %w(prepare merge)
usage = "Usage: #{File.basename($0)} [#{tasks.join('|')}]"
require 'olddoc'
opts = Olddoc.config
case ARGV[0]
when "prepare"
  Olddoc::Prepare.new(opts).run
when "merge"
  Olddoc::Merge.new(opts).run
else
  warn "#{$0.inspect} #{ARGV.inspect} not understood"
  abort usage
end

git clone https://80x24.org/olddoc.git