{"id":21517826,"url":"https://github.com/brokenhandsio/swiftpm-cleanup","last_synced_at":"2025-04-24T07:42:40.799Z","repository":{"id":204532965,"uuid":"712081992","full_name":"brokenhandsio/swiftpm-cleanup","owner":"brokenhandsio","description":"Script to cleanup SwiftPM environments","archived":false,"fork":false,"pushed_at":"2023-11-06T12:00:06.000Z","size":6,"stargazers_count":16,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-20T13:03:46.372Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brokenhandsio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-30T18:52:29.000Z","updated_at":"2025-04-03T13:23:11.000Z","dependencies_parsed_at":"2023-11-06T12:46:48.513Z","dependency_job_id":"d4b63fc1-b61e-4429-9a36-2acb2f8f4e39","html_url":"https://github.com/brokenhandsio/swiftpm-cleanup","commit_stats":null,"previous_names":["brokenhandsio/swiftpm-cleanup"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brokenhandsio%2Fswiftpm-cleanup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brokenhandsio%2Fswiftpm-cleanup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brokenhandsio%2Fswiftpm-cleanup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brokenhandsio%2Fswiftpm-cleanup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brokenhandsio","download_url":"https://codeload.github.com/brokenhandsio/swiftpm-cleanup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250585181,"owners_count":21454321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T00:45:30.046Z","updated_at":"2025-04-24T07:42:40.776Z","avatar_url":"https://github.com/brokenhandsio.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftPM Cleanup\n\nA simple tool to clean up your SwiftPM project's environment.\nIt will remove:\n  - `.build`\n  - `.swiftpm`\n  - `Package.resolved`\n  - `/your/home/directory/.swiftpm`\n  - `/your/home/directory/Library/Caches/org.swift.swiftpm`\n\nOptionally, by passing the `--clean-derived-data` flag, it will also remove:\n  - `/your_home_directory/Library/Developer/Xcode/DerivedData/your_project`\n\nIf you want to specify a project other than the one in the current directory, use the --path option:\n\n  - `--path /path/to/your_project`\n\n## Usage\n\n- Clone the script file into your project's directory\n- Run it with \n```bash \nswift cleanup.swift [--path /path/to/your_project] [--clean-derived-data]\n```\n\n\u003e [!WARNING]\\\n\u003e Make sure to:\n\u003e  - Run it as normal user and not as root, as that will switch your home directory to `/var/root`\n\u003e  - Close any IDE or editor that might be using the project's files, as that will result in permission issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrokenhandsio%2Fswiftpm-cleanup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrokenhandsio%2Fswiftpm-cleanup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrokenhandsio%2Fswiftpm-cleanup/lists"}