#! /bin/bash

meteor test-packages \
  "$(pwd)/packages/rest" \
  "$(pwd)/packages/json-routes" \
  "$(pwd)/packages/rest-bearer-token-parser" \
  "$(pwd)/packages/authenticate-user-by-token" \
  "$(pwd)/packages/rest-accounts-password"
#! /bin/bash

DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )

jshint $DIR

result=$?
if [[ $result != 0 ]]
  # Exit if the linter didn't pass
  then exit $result
fi

meteor test-packages \
  "$DIR/packages/rest" \
  "$DIR/packages/json-routes" \
  "$DIR/packages/rest-bearer-token-parser" \
  "$DIR/packages/authenticate-user-by-token" \
  "$DIR/packages/rest-accounts-password"
Add linter to test script
Add linter to test script
