Sha256: 46b2e51c60e8692c59348d264e776bb8c2d19bb7f1770ae4feca5b215109cfe0
Contents?: true
Size: 594 Bytes
Versions: 2
Compression:
Stored size: 594 Bytes
Contents
#!/usr/bin/env ruby # # Copyright (c) 2009. GPL3. # Author: Zhang Jinzhu $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + "/../lib")) # easy debug if ARGV.delete('--debug') ['rubygems','ruby-debug'].each {|x| require x} else def debugger;end end require "version" require "grb" abort('Version: ' + Version::VERSION) if ARGV.delete('--version') || ARGV.delete('-v') EXPLAIN = ARGV.delete('--explain') || ARGV.delete('-e') opt = { :command => ARGV[0] || 'push', :branch => branch = (ARGV[1] || Grb.get_current_branch), :branch_ => ARGV[2] || branch, } Grb.parse(opt)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
grb-0.3.0 | bin/grb |
grb-0.2.3 | bin/grb |