Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.
Swift cache-cleanercleanerclideveloper-toolsdisk-cleanupdisk-spaceduplicate-finderhomebrewliquid-glassmac-cleanermacosmacos-appmacos-golden-gatemacos-tahoemacos-tweaksswiftswiftuiterminal-themesuninstalluninstaller
List xwin's .xwin-cache in Build Artifacts, never selected
Țugui Dragoșc1cc173f3b65
diff --git a/Packages/PeelCore/Sources/PeelCore/Developer/ProjectArtifacts.swift b/Packages/PeelCore/Sources/PeelCore/Developer/ProjectArtifacts.swiftindex 67c28924..b4c6f7e6 100644--- a/Packages/PeelCore/Sources/PeelCore/Developer/ProjectArtifacts.swift+++ b/Packages/PeelCore/Sources/PeelCore/Developer/ProjectArtifacts.swift@@ -335,6 +335,12 @@ public enum ProjectArtifacts {name: "target", markers: ["Cargo.toml"], tool: "Cargo", isGeneric: true,source: "https://doc.rust-lang.org/cargo/reference/build-cache.html"),+ // xwin's downloads and, by default, the Windows SDK and CRT it unpacks for the build, which only `xwin splat`+ // with the person's own options puts back.+ Definition(+ name: ".xwin-cache", markers: ["Cargo.toml"], tool: "xwin", isGeneric: false, isEnvironment: true,+ source: "https://github.com/Jake-Shadle/xwin/blob/723d758d484f505c214e1b8c298fe34b19ba9e92/README.md#L42"+ ),Definition(name: "target", markers: ["pom.xml"], tool: "Maven", isGeneric: true,source: "https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html"diff --git a/Packages/PeelCore/Tests/PeelCoreTests/ProjectArtifactsTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/ProjectArtifactsTests.swiftindex 5d54b0df..93f19bfa 100644--- a/Packages/PeelCore/Tests/PeelCoreTests/ProjectArtifactsTests.swift+++ b/Packages/PeelCore/Tests/PeelCoreTests/ProjectArtifactsTests.swift@@ -287,6 +287,7 @@ struct ProjectArtifactsTests {Kind(artifact: "zig-out", marker: "build.zig", tool: "Zig", isGeneric: false),Kind(artifact: ".zig-cache", marker: "build.zig", tool: "Zig", isGeneric: false),Kind(artifact: "zig-cache", marker: "build.zig", tool: "Zig", isGeneric: false),+ Kind(artifact: ".xwin-cache", marker: "Cargo.toml", tool: "xwin", isGeneric: false, isEnvironment: true),Kind(artifact: ".cxx", marker: "build.gradle.kts", tool: "Android Gradle plugin", isGeneric: false),Kind(artifact: ".stack-work", marker: "stack.yaml", tool: "Stack", isGeneric: false),Kind(artifact: "dist-newstyle", marker: "app.cabal", tool: "Cabal", isGeneric: false),diff --git a/SAFETY.md b/SAFETY.mdindex b71556d7..8401eec9 100644--- a/SAFETY.md+++ b/SAFETY.md@@ -331,16 +331,16 @@ includes `node_modules` and `Pods`, which `npm install` and `pod install` put bais part of the project, so it is listed and never selected, and so is one in a repository whose list of tracked filesPeel can't read. Peel reads that list from Git's own index, as Git documents it, and never runs Git in a project. APython environment (`.venv`, `venv`) is listed and never selected, since packages are often installed into one by hand,-and so is Terraform's `.terraform`, which keeps the workspace you chose. Pixi's `.pixi/envs` can be suggested: Pixi-makes it again from `pixi.lock` and never lets it be edited by hand. A folder whose name says nothing on its own,-such as `target` or `build`, is listed and never selected either. Of a Godot project's `.godot`, only the caches Godot-makes again are offered, `imported` and `shader_cache`: the folder also holds the export passwords and keys-(`export_credentials.cfg`), which exist nowhere else. Nx's `.nx` is offered only when it holds nothing but the cache-and the database beside it, which `nx reset` removes together, since a team can keep its release plans there. Build-Artifacts never searches a hidden folder, a Library, or a-folder a tool fills, such as `node_modules`: apps and tools keep there what they install, as an editor keeps each-extension's `package.json` beside the `node_modules` it runs with. A folder chosen to search that is one of those, or-sits inside one, is refused with the reason.+and so is Terraform's `.terraform`, which keeps the workspace you chose, and xwin's `.xwin-cache`, the Windows SDK a+Rust project builds against, which only `xwin splat` with your own options puts back. Pixi's `.pixi/envs` can be+suggested: Pixi makes it again from `pixi.lock` and never lets it be edited by hand. A folder whose name says nothing on+its own, such as `target` or `build`, is listed and never selected either. Of a Godot project's `.godot`, only the+caches Godot makes again are offered, `imported` and `shader_cache`: the folder also holds the export passwords and keys+(`export_credentials.cfg`), which exist nowhere else. Nx's `.nx` is offered only when it holds nothing but the cache and+the database beside it, which `nx reset` removes together, since a team can keep its release plans there. Build+Artifacts never searches a hidden folder, a Library, or a folder a tool fills, such as `node_modules`: apps and tools+keep there what they install, as an editor keeps each extension's `package.json` beside the `node_modules` it runs with.+A folder chosen to search that is one of those, or sits inside one, is refused with the reason.Developer, Build Artifacts, Space, and Installers and Backups select nothing for you: opening a page selects nothing,and Select Recommended selects what Peel recommends there.