#!/usr/bin/env bash # Configure, build and launch the disk cleaner. Nothing is scanned unless a # folder is given: ./run.sh ~/Téléchargements set -euo pipefail root="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" build="$root/build" cmake -B "$build" -S "$root" -DCMAKE_BUILD_TYPE=Release cmake --build "$build" --parallel exec "$build/fws-diskcleaner" "$@"