mirror of
https://github.com/tw93/Mole.git
synced 2026-02-08 10:19:20 +00:00
chore: polish PR #197 and add Xcode Archives whitelist option
- Remove duplicate comment in project.sh - Fix color code issue in purge.sh help message - Add proper spacing after load_purge_config function - Add shell syntax highlighting in README code block - Add Xcode Archives to whitelist options (fixes #195)
This commit is contained in:
@@ -26,8 +26,7 @@ readonly MIN_AGE_DAYS=7
|
||||
# Scan depth defaults (relative to search root)
|
||||
readonly PURGE_MIN_DEPTH_DEFAULT=2
|
||||
readonly PURGE_MAX_DEPTH_DEFAULT=8
|
||||
# Search paths (only project directories)
|
||||
# Search paths (default)
|
||||
# Search paths (default, can be overridden via config file)
|
||||
readonly DEFAULT_PURGE_SEARCH_PATHS=(
|
||||
"$HOME/www"
|
||||
"$HOME/dev"
|
||||
@@ -70,8 +69,9 @@ load_purge_config() {
|
||||
fi
|
||||
}
|
||||
|
||||
# Initialize paths
|
||||
# Initialize paths on script load
|
||||
load_purge_config
|
||||
|
||||
# Args: $1 - path to check
|
||||
# Check if path is safe to clean (must be inside a project directory)
|
||||
is_safe_project_artifact() {
|
||||
|
||||
Reference in New Issue
Block a user