Sha256: bb05d6b6fe19a384962dad33d2908bc35b79d3756b36ec4ea80d95a166ed2826
Contents?: true
Size: 791 Bytes
Versions: 12
Compression:
Stored size: 791 Bytes
Contents
#!/bin/bash #/ NAME #/ pygmentize -- wrapper to call pygmentize under virtualenv #/ #/ SYNOPSIS #/ pygmentize ... # 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 pygmentize "$@" } # 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