Sha256: d205166c12941a979bcd9fba73f02d0f554af9f5f60f2c39db3af15d6635fc21

Contents?: true

Size: 396 Bytes

Versions: 3

Compression:

Stored size: 396 Bytes

Contents

#!/usr/bin/env bash
script="${BASH_SOURCE%/*}/../script/grapht.coffee"

phantom_version=`phantomjs -v`
if [ $? -ne 0 ]; then
  echo "could not find phantomjs!"
  exit 1
fi

if [ "$#" -ge 1 ]; then
  phantomjs $script $@ < /dev/stdin
else
  echo "ERROR:"
  echo "-- grapht was called with unknown arguments:"
  echo "-- grapht requires an initial argument, specifying the graph type."
  exit 1
fi

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
grapht-0.1.7 bin/grapht
grapht-0.1.6 bin/grapht
grapht-0.1.5 bin/grapht