1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-15 14:35:05 +00:00

Merge pull request #226 from LmanTW/main

Add support for cleaning up Zig projects
This commit is contained in:
Tw93
2026-01-01 13:46:33 +08:00
committed by GitHub

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"
) )