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