diff --git a/cmd/analyze/cleanable.go b/cmd/analyze/cleanable.go index c74f7c7..b7ecae0 100644 --- a/cmd/analyze/cleanable.go +++ b/cmd/analyze/cleanable.go @@ -105,6 +105,7 @@ var projectDependencyDirs = map[string]bool{ "Pods": true, ".build": true, "Carthage": true, + ".dart_tool": true, // Other tools ".terraform": true, // Terraform plugins diff --git a/cmd/analyze/constants.go b/cmd/analyze/constants.go index b38e8de..cc65417 100644 --- a/cmd/analyze/constants.go +++ b/cmd/analyze/constants.go @@ -138,6 +138,7 @@ var foldDirs = map[string]bool{ ".build": true, "xcuserdata": true, "Carthage": true, + ".dart_tool": true, // Web frameworks ".angular": true, diff --git a/lib/clean/project.sh b/lib/clean/project.sh index ee67baa..5763c2c 100644 --- a/lib/clean/project.sh +++ b/lib/clean/project.sh @@ -21,6 +21,7 @@ readonly PURGE_TARGETS=( "obj" # C# / Unity ".turbo" # Turborepo cache ".parcel-cache" # Parcel bundler + ".dart_tool" # Flutter/Dart build cache ) # Minimum age in days before considering for cleanup diff --git a/lib/clean/system.sh b/lib/clean/system.sh index 1c6d9ea..a863ba7 100644 --- a/lib/clean/system.sh +++ b/lib/clean/system.sh @@ -214,7 +214,7 @@ clean_time_machine_failed_backups() { fi # Skip if backup is running (check actual Running status, not just daemon existence) - if tmutil status 2>/dev/null | grep -q "Running = 1"; then + if tmutil status 2> /dev/null | grep -q "Running = 1"; then if [[ "$spinner_active" == "true" ]]; then stop_section_spinner fi