Files
gitea-release-resource/scripts/test
Chris Brown df4c9d8ccf add test script for testing
Signed-off-by: Corbin Halliwill <challiwill@pivotal.io>
2015-10-19 14:47:21 -07:00

19 lines
348 B
Bash
Executable File

#!/bin/bash
set -e
not_installed() {
! command -v $1 > /dev/null 2>&1
}
github_release_resource_dir=$(realpath $(dirname $(dirname $0)))
if not_installed ginkgo; then
echo "# ginkgo is not installed! run the following command:"
echo " go install github.com/onsi/ginkgo/ginkgo"
exit 1
fi
cd $github_release_resource_dir
ginkgo -r -p