1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-12 16:20:14 +00:00

feat: add support for cleaning up Zig projects

This commit is contained in:
LmanTW
2026-01-01 13:07:27 +08:00
parent f53d440bb8
commit 40cfc363f2

View File

@@ -28,6 +28,8 @@ readonly PURGE_TARGETS=(
".turbo" # Turborepo cache ".turbo" # Turborepo cache
".parcel-cache" # Parcel bundler ".parcel-cache" # Parcel bundler
".dart_tool" # Flutter/Dart build cache ".dart_tool" # Flutter/Dart build cache
".zig-cache" # Zig
"zig-out" # Zig
) )
# Minimum age in days before considering for cleanup. # Minimum age in days before considering for cleanup.
readonly MIN_AGE_DAYS=7 readonly MIN_AGE_DAYS=7
@@ -65,6 +67,8 @@ readonly PROJECT_INDICATORS=(
"composer.json" "composer.json"
"pubspec.yaml" "pubspec.yaml"
"Makefile" "Makefile"
"build.zig"
"build.zig.zon"
".git" ".git"
) )