Sha256: 2b5d1222452b2eae7aa8f463cdfdf778b044a23ca4d6cafe94655f1f9ab244c7

Contents?: true

Size: 378 Bytes

Versions: 6

Compression:

Stored size: 378 Bytes

Contents

#!/bin/sh

# script/test: Run test suite for application. Optionally pass in a path to an
# individual test file to run a single test.

set -e

cd "$(dirname "$0")/.."

[ -z "$DEBUG" ] || set -x

echo "==> Running tests…"

if [ -n "$1" ]; then
  # Pass arguments to test call. This is useful for calling a single test.
  bundle exec rspec "$1"
else
  bundle exec rake spec
fi

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
snowpack-1.0.0.alpha7 lib/snowpack/generators/application/templates/script/test
snowpack-1.0.0.alpha6 lib/snowpack/generators/application/templates/script/test
snowpack-1.0.0.alpha5 lib/snowpack/generators/application/templates/script/test
snowpack-1.0.0.alpha4 lib/snowpack/generators/application/templates/script/test
snowpack-1.0.0.alpha3 lib/snowpack/generators/application/templates/script/test
snowpack-1.0.0.alpha2 lib/snowpack/generators/application/templates/script/test