Sha256: d775e0e92383cee22f25eeab4f0eafb1c35faca2fa137b6881b5ee8a5cf6a78e

Contents?: true

Size: 789 Bytes

Versions: 12

Compression:

Stored size: 789 Bytes

Contents

#!/bin/bash

#/ NAME
#/     rocco -- wrapper to call rocco under virtualenv
#/
#/ SYNOPSIS
#/     rocco ...

# figure out the project root under which bin, lib live
shome="$(cd -P -- "$(dirname -- "$BASH_SOURCE")/.." && pwd -P)"

# load a jason bourne library
source "$shome/bin/_treadstone"

# entry point
function main {
  export BUNDLE_GEMFILE="$shome/.doc/Gemfile"
  export shome

  ( cd $shome/.doc && bundle check 2>&1 >/dev/null || { bundle install --quiet --local --path vendor/bundle || bundle check > /dev/null; } )
  exec bundle exec $shome/bin/venv rocco "$@"
}

# define command line options:
#   var name, default, description, short option

# parse the command-line
#parse_command_line "$@" || exit $?
#eval set -- "${FLAGS_ARGV}"

# pass arguments to entry point
main "$@"

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
alpha_omega-1.0.1 libexec/rocco
alpha_omega-0.0.226 libexec/rocco
alpha_omega-0.0.225 libexec/rocco
alpha_omega-0.0.224 libexec/rocco
alpha_omega-0.0.223 libexec/rocco
alpha_omega-0.0.222 libexec/rocco
alpha_omega-0.0.220 libexec/rocco
alpha_omega-0.0.219 libexec/rocco
alpha_omega-0.0.217 libexec/rocco
alpha_omega-0.0.216 libexec/rocco
alpha_omega-0.0.215 libexec/rocco
alpha_omega-0.0.214 libexec/rocco