14 lines
516 B
Bash
Executable File
14 lines
516 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Preview only: no files are installed or changed.
|
|
set -euo pipefail
|
|
root="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
|
|
if [[ ! -d "$root/sets" ]]; then
|
|
printf 'Error: sets directory is missing.\n' >&2
|
|
exit 1
|
|
fi
|
|
printf 'MOCK deployment: preview only; no files will be changed.\n'
|
|
while IFS= read -r -d '' file; do
|
|
printf 'Would deploy: %s\n' "${file#"$root/"}"
|
|
done < <(find "$root/sets" -type f -print0)
|
|
printf 'Automatic installation and updates are not implemented yet.\n'
|