Sha256: bfa99a470f9c89ac1f80fdbc09f25f4002e3e3dda87306d6291c17aaa06499ce

Contents?: true

Size: 485 Bytes

Versions: 3

Compression:

Stored size: 485 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"

EXPLAIN = ARGV.delete('--explain')

opt = {
 :command => ARGV[0] || 'push',
 :branch => branch   =  (ARGV[1] || Grb.get_current_branch),
 :branch_ => ARGV[2] || branch,
}

Grb.parse(opt)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jinzhu-grb-0.1.1 bin/grb
jinzhu-grb-0.2.0 bin/grb
jinzhu-grb-0.2.1 bin/grb