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
Developer lists the folder CPAN builds modules in
Țugui Dragoș4c002c501330
diff --git a/Packages/PeelCore/Sources/PeelCore/Developer/DeveloperCaches.swift b/Packages/PeelCore/Sources/PeelCore/Developer/DeveloperCaches.swiftindex 395e9c5e..212bbf97 100644--- a/Packages/PeelCore/Sources/PeelCore/Developer/DeveloperCaches.swift+++ b/Packages/PeelCore/Sources/PeelCore/Developer/DeveloperCaches.swift@@ -522,6 +522,9 @@ public enum DeveloperCaches {Folder("Library/Caches/composer", .downloads, source: "https://github.com/composer/composer/blob/main/doc/06-config.md#L1105-L1108"),Folder(".composer/cache", .downloads, source: "https://github.com/composer/composer/blob/main/src/Composer/Factory.php#L122-L128"),]),+ Definition(id: "cpan", name: "CPAN", systemImage: "shippingbox", appBundleIdentifiers: [], folders: [+ Folder(".cpan/build", .buildData, source: "https://github.com/andk/cpanpm/blob/master/lib/CPAN/FirstTime.pm#L930"),+ ]),Definition(id: "rubygems", name: "RubyGems & Bundler", systemImage: "shippingbox", appBundleIdentifiers: [], folders: [Folder(".gem/ruby/*/cache", .downloads, source: "https://github.com/ruby/rubygems/blob/master/lib/rubygems/specification.rb#L1659-L1660"),Folder(".gem/specs", .cache, source: "https://github.com/ruby/rubygems/blob/master/lib/rubygems/defaults.rb#L23-L30"),diff --git a/Packages/PeelCore/Tests/PeelCoreTests/DeveloperCachesTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/DeveloperCachesTests.swiftindex c0f129c3..e04aeb61 100644--- a/Packages/PeelCore/Tests/PeelCoreTests/DeveloperCachesTests.swift+++ b/Packages/PeelCore/Tests/PeelCoreTests/DeveloperCachesTests.swift@@ -780,6 +780,18 @@ struct DeveloperCachesTests {#expect(locations.map(\.url.lastPathComponent) == ["downloads"])}+ @Test func offersCpansBuildFolderAndNeverItsPreferences() async throws {+ let directory = try TemporaryDirectory()+ try directory.file(".cpan/build/Moose-2.2207-0/Makefile", bytes: 400_000)+ try directory.file(".cpan/prefs/Moose.yml", bytes: 64)+ try directory.file(".cpan/CPAN/MyConfig.pm", bytes: 64)+ let cpan = DeveloperCaches.definitions.filter { $0.id == "cpan" }++ let locations = await DeveloperCaches.scan(cpan, homeDirectory: directory.url).flatMap(\.locations)++ #expect(locations.map(\.url.lastPathComponent) == ["build"])+ }+/// virtualenvwrapper keeps the user's hook scripts beside the environments in `~/.virtualenvs`, so only the/// environments are offered, and a link among them is left where it is, never followed.@Test func offersVirtualenvwrappersEnvironmentsAndNotItsHooks() async throws {