Sha256: b39fcc821b3992cb07e4ec1b0a4897b27852300451d9748cd9a6bcba829f8849

Contents?: true

Size: 387 Bytes

Versions: 30

Compression:

Stored size: 387 Bytes

Contents

#!/usr/bin/env ruby
#
# runner.rb --
#
#   Run shell scripts from a gem.
#   Symlink to this script to run a script with the same name living in
#   libexec/.
#
require 'pathname'
require 'rubygems'
require 'git-whistles'

target_script = Pathname.new($0).basename
script_path = Git::Whistles::GEMDIR.join('libexec', "#{target_script}.sh").cleanpath.to_s

Kernel.exec script_path, *ARGV

Version data entries

30 entries across 5 versions & 1 rubygems

Version Path
git-whistles-0.6.1 libexec/runner.rb
git-whistles-0.6.1 bin/git-stash-and-checkout
git-whistles-0.6.1 bin/git-outstanding-features
git-whistles-0.6.1 bin/git-merge-po
git-whistles-0.6.1 bin/git-list-branches
git-whistles-0.6.1 bin/git-chop
git-whistles-0.5.1 bin/git-list-branches
git-whistles-0.5.1 libexec/runner.rb
git-whistles-0.5.1 bin/git-stash-and-checkout
git-whistles-0.5.1 bin/git-chop
git-whistles-0.5.1 bin/git-outstanding-features
git-whistles-0.5.1 bin/git-merge-po
git-whistles-0.5.0 bin/git-outstanding-features
git-whistles-0.5.0 bin/git-chop
git-whistles-0.5.0 bin/git-list-branches
git-whistles-0.5.0 bin/git-merge-po
git-whistles-0.5.0 bin/git-stash-and-checkout
git-whistles-0.5.0 libexec/runner.rb
git-whistles-0.4.4 bin/git-chop
git-whistles-0.4.4 libexec/runner.rb