Sha256: 11d975498836826302b570f1b26dc7f4382df2693118c6df03ba0000215b4713
Contents?: true
Size: 621 Bytes
Versions: 4
Compression:
Stored size: 621 Bytes
Contents
#!/usr/bin/env ruby require 'require_all' module Rebuild require_relative '../lib/rbld_commands' require_rel '../lib/commands' end begin rbld_log.info( "ARGV: #{ARGV.join(' ')}" ) if !ARGV[0] || (ARGV[0] == "help" && !ARGV[1]) puts Rebuild::CLI::Main.usage puts exit 0 end if ARGV[0] == "help" Rebuild::CLI::Commands.usage( ARGV[1] ) exit 0 end if ARGV[1] == "--help" || ARGV[1] == "-h" Rebuild::CLI::Commands.usage( ARGV[0] ) exit 0 end exit Rebuild::CLI::Commands.run( ARGV[0], ARGV.drop(1) ) || 0 rescue RuntimeError => msg rbld_print.error(msg) exit 1 end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rbld-1.1.0 | cli/bin/rbld |
rbld-1.0.2 | cli/bin/rbld |
rbld-1.0.1 | cli/bin/rbld |
rbld-1.0.0 | cli/bin/rbld |