mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-22 02:02:14 +00:00
- Fix issues with `SSHFP` record type - Add `sbt.sh` helper script - Update configuration file (`application.conf`) for consistency - Update documentation
16 lines
486 B
Bash
Executable File
16 lines
486 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# This script will delete all target/ directories and the assembly/ directory
|
|
#
|
|
set -euo pipefail
|
|
DIR=$(
|
|
cd "$(dirname "$0")"
|
|
pwd -P
|
|
)
|
|
|
|
echo "Performing deep clean"
|
|
find "${DIR}/.." -type d -name target -o -name assembly | while read -r p; do if [ -d "$p" ]; then
|
|
echo -n "Removing $(realpath --relative-to="$DIR" "$p").." && \
|
|
{ { rm -rf "$p" &> /dev/null && echo "done."; } || { echo -e "\e[93mERROR\e[0m: you may need to be root"; exit 1; } }
|
|
fi; done
|