Sha256: c365c8490318c770756fbc2734db659975967ec2216f1e4f897fe6d93cd6e31c
Contents?: true
Size: 624 Bytes
Versions: 1
Compression:
Stored size: 624 Bytes
Contents
#!/usr/bin/env ruby # # Copyright (c) 2009-present. GPL3. # Author: Zhang Jinzhu $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + "/../lib")) require "grb" # easy debugger if ARGV.delete('--debug') ['rubygems','ruby-debug'].each {|x| require x} else def debugger;end end abort('Version: ' + File.read(File.expand_path("../../VERSION",__FILE__))) 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
grb-0.3.1 | bin/grb |