mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 01:08:26 -05:00
16 lines
248 B
Bash
Executable File
16 lines
248 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 TESTOPTS='--profile' test
|
|
else time bundle exec ruby -Itest "$@" --profile
|
|
fi
|