UNPKG

@mihon/spacejam

Version:

Run your meteor package tinytests and mocha tests from the command line with phantomjs.

12 lines (9 loc) 254 B
#!/bin/bash -xe export SPACEJAM_BIN="$(cd `dirname "${BASH_SOURCE[0]}"` && pwd)" if [ -z "$1" ]; then >&2 echo "ERROR: A new METEOR_ENV has not been specified. Exiting." return else export METEOR_ENV="$1" source $SPACEJAM_BIN/set-meteor-env fi