mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 17:28:29 -05:00
Rather than use script/test to create the tmp directory, create it in a setup block for the appropriate context in the `TestTags` test.
16 lines
216 B
Bash
Executable File
16 lines
216 B
Bash
Executable File
#! /bin/bash
|
|
set -e
|
|
|
|
# Usage:
|
|
# script/test
|
|
# script/test <test_file>
|
|
|
|
if [ -d test/dest ]
|
|
then rm -r test/dest
|
|
fi
|
|
|
|
if [[ $# -lt 1 ]]
|
|
then time bundle exec rake test
|
|
else time bundle exec ruby -Itest "$@"
|
|
fi
|