mas/script/test

19 lines
315 B
Text
Raw Normal View History

#!/bin/bash -eu
#
# script/test
# mas
#
2021-04-28 21:49:54 +00:00
# Runs mas tests.
#
2018-12-20 04:04:35 +00:00
mas_dir="$(readlink -fn "$(dirname "${BASH_SOURCE:-"${0}"}")/..")"
if ! cd -- "${mas_dir}"; then
printf $'Error: Could not cd into mas directory: %s\n' "${mas_dir}" >&2
exit 1
fi
printf $'==> ✅ Testing mas (%s)\n' "$(script/version)"
2021-11-18 20:11:37 +00:00
swift test