Sha256: 20a2e8b50bbea7b9c59ee7a92257e431958c9e99329a4e7ba2764beb51e42c56

Contents?: true

Size: 771 Bytes

Versions: 12

Compression:

Stored size: 771 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 -- "$0")/.." && pwd -P)"

# load a meat library
source "$shome/bin/_prime" "$@"

# 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-0.0.213 libexec/rocco
alpha_omega-0.0.212 libexec/rocco
alpha_omega-0.0.210 libexec/rocco
alpha_omega-0.0.208 libexec/rocco
alpha_omega-0.0.207 libexec/rocco
alpha_omega-0.0.206 libexec/rocco
alpha_omega-0.0.205 libexec/rocco
alpha_omega-0.0.204 libexec/rocco
alpha_omega-0.0.202 libexec/rocco
alpha_omega-0.0.201 libexec/rocco
alpha_omega-0.0.200 libexec/rocco
alpha_omega-0.0.199 libexec/rocco