2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-22 02:02:14 +00:00
Emerle, Ryan c3d4e16da4
Updates
- Fix issues with `SSHFP` record type
- Add `sbt.sh` helper script
- Update configuration file (`application.conf`) for consistency
- Update documentation
2021-12-03 12:16:21 -05:00

16 lines
492 B
Bash
Executable File

#!/usr/bin/env bash
set -eo pipefail
ROOT_DIR=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
cd "${ROOT_DIR}"
if [ "$1" == "--interactive" ]; then
shift
bash
else
# Attempt to just run grunt - this should work most of the time
# We may need to update dependencies if our local functional tests dependencies
# differ from those of the 'base-test-portal' docker image
grunt unit "$@" || { echo "Attempting to recover.." && npm install -f --no-audit --no-fund && grunt unit "$@"; }
fi