{"id":15716050,"url":"https://github.com/artemnovichkov/carting","last_synced_at":"2025-08-20T04:32:38.028Z","repository":{"id":52877714,"uuid":"95960257","full_name":"artemnovichkov/Carting","owner":"artemnovichkov","description":"🚘 A simple tool for updating Carthage script phase","archived":false,"fork":false,"pushed_at":"2021-10-02T09:45:14.000Z","size":7269,"stargazers_count":184,"open_issues_count":0,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-14T20:34:29.780Z","etag":null,"topics":["carthage","homebrew","swift","swift-package-manager","swift-script","xcode"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/artemnovichkov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-01T11:28:40.000Z","updated_at":"2024-05-04T15:53:00.000Z","dependencies_parsed_at":"2022-08-23T04:30:54.145Z","dependency_job_id":null,"html_url":"https://github.com/artemnovichkov/Carting","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemnovichkov%2FCarting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemnovichkov%2FCarting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemnovichkov%2FCarting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemnovichkov%2FCarting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artemnovichkov","download_url":"https://codeload.github.com/artemnovichkov/Carting/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230394228,"owners_count":18218707,"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":["carthage","homebrew","swift","swift-package-manager","swift-script","xcode"],"created_at":"2024-10-03T21:43:54.582Z","updated_at":"2024-12-19T07:06:49.259Z","avatar_url":"https://github.com/artemnovichkov.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\".github/Logo.png\" width=\"480\" max-width=\"90%\" alt=\"Carting\" /\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/artemnovichkov/carting/actions\"\u003e\n        \u003cimg src=\"https://github.com/artemnovichkov/carting/workflows/Build/badge.svg\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/homebrew-compatible-brightgreen.svg?style=flat\" alt=\"Make\" /\u003e\n  \u003ca href=\"https://swift.org/package-manager\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/spm-compatible-brightgreen.svg?style=flat\" alt=\"Swift Package Manager\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nDo you use [Carthage](https://github.com/Carthage/Carthage)? Are you feel tired of adding special script and the paths to frameworks (point 4, 5 and 6 in [Getting Started guide](https://github.com/Carthage/Carthage#getting-started)) manually? Me too. Carting does it for you. It scans Carthage folder and linked frameworks, gets framework names and updates the script.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\".github/carting.png\" max-width=\"90%\" alt=\"Carting usage\" /\u003e\n\u003c/p\u003e\n\n\n## Using\n\nRun `carting update` in project folder. That's all.\n\nBy default Carting searches a script named `Carthage`, but you can set a name of your script via command line arguments:\n\n```\n$ carting update -s MyBestScript\n```\n\nIf there is no script with the name, Carting will add a new one.\n\nSince Xcode 10 Run Script Phases support declaring input and output files in a `.xcfilelist` file. This file should contain a newline-separated list of the file paths for the inputs or outputs. Carting uses it by default. If you need to work with your projects in old Xcode versions, use `-f file` option.\n\n**🚨Note**: be sure to have no uncommitted changes in project file to prevent project parsing errors 😱.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\".github/error.png\" max-width=\"90%\" alt=\"Project parsing error\" /\u003e\n\u003c/p\u003e\n\nRun `carting --help` to see available commands:\n\n```bash\nOVERVIEW: 🚘 Simple tool for updating Carthage script phase\n\nUSAGE: Carting \u003ccommand\u003e \u003coptions\u003e\n\nSUBCOMMANDS:\n  info                    Prints Carthage frameworks list with linking description.\n  lint                    Lint the project for missing paths.\n  update                  Adds a new script with input/output file paths or updates the script named `Carthage`.\n```\n\n## Linting\n\nIntegrate Carting into an Xcode scheme to get errors displayed in the IDE. Just add a new \"Run Script Phase\" with:\n\n```bash\n/usr/local/bin/carting lint\n```\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\".github/phase.png\" max-width=\"90%\" alt=\"Run Script Phase\" /\u003e\n\u003c/p\u003e\n\n## Installing\n\n### Homebrew (recommended):\n\n```bash\n$ brew tap artemnovichkov/projects\n$ brew install carting\n```\n\n### [Mint](https://github.com/yonaskolb/mint):\n\n```bash\n$ mint run artemnovichkov/carting\n```\n\n### Make:\n\n```bash\n$ git clone https://github.com/artemnovichkov/carting.git\n$ cd Carting\n$ make\n```\n\n### Swift Package Manager:\n\n```swift\nlet package = Package(\n    dependencies: [\n        .Package(url: \"https://github.com/artemnovichkov/carting\", majorVersion: 2)\n    ]\n)\n```\n## Author\n\nArtem Novichkov, https://www.artemnovichkov.com/about\n\n## License\n\nCarting is available under the MIT license. See the LICENSE file for more info.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartemnovichkov%2Fcarting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartemnovichkov%2Fcarting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartemnovichkov%2Fcarting/lists"}