mirror of
https://github.com/sobolevn/git-secret
synced 2024-10-31 21:20:29 +00:00
10 lines
294 B
Bash
Executable File
10 lines
294 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# `SECRET_PROJECT_ROOT` must be set before running the script.
|
|
|
|
set -e
|
|
|
|
# Running all the bats-tests in a dir with spaces:
|
|
cd "${SECRET_PROJECT_ROOT}"; rm -rf 'tempdir with spaces'; mkdir 'tempdir with spaces'; cd 'tempdir with spaces';
|
|
bats "${SECRET_PROJECT_ROOT}/tests"
|