Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (14 sloc) 0.383 kB
#!/bin/sh
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
die () {
echo "$@"
printf "\nusage: %s [arguments-to-yeti]" $0
exit 1
} >&2
try () {
hash npm 2>&- || die "Could not find npm."
npm i $1 || die "Unable to install Node.js module $1"
}
RAMPANT="$DIR/../node_modules/.bin/rampant"
[ -x "$RAMPANT" ] || try rampant
"$RAMPANT" "$DIR/../cli.js" $@
Jump to Line
Something went wrong with that request. Please try again.