{"id":21846608,"url":"https://github.com/binarybirds/swift-format-template","last_synced_at":"2025-03-21T16:44:20.936Z","repository":{"id":202817653,"uuid":"628253070","full_name":"BinaryBirds/swift-format-template","owner":"BinaryBirds","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-21T20:35:27.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-19T13:17:13.337Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/BinaryBirds.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-04-15T11:26:16.000Z","updated_at":"2023-10-26T11:59:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff139dba-b5a8-40b4-b56c-a71e77127c33","html_url":"https://github.com/BinaryBirds/swift-format-template","commit_stats":null,"previous_names":["binarybirds/swift-format-template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryBirds%2Fswift-format-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryBirds%2Fswift-format-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryBirds%2Fswift-format-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryBirds%2Fswift-format-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BinaryBirds","download_url":"https://codeload.github.com/BinaryBirds/swift-format-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244831062,"owners_count":20517621,"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-27T23:14:41.621Z","updated_at":"2025-03-21T16:44:20.910Z","avatar_url":"https://github.com/BinaryBirds.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swift format template\n\nInstall [swift-format](https://github.com/apple/swift-format):\n\n```shell\nbrew install swift-format\n```\n\nCreate a `.swift-format` using this template.\n\n```shell\ncurl -s https://raw.githubusercontent.com/BinaryBirds/swift-format-template/main/.swift-format \u003e .swift-format\n```\n\nAdd these lines to your `Makefile`:\n\n```makefile\nformat:\n\tswift-format -i -r ./Sources \u0026\u0026 swift-format -i -r ./Tests\n\nlint:\n\tswift-format lint -r ./Sources \u0026\u0026 swift-format lint -r ./Tests\n```\n\n\nOne-liner integration: \n\n```shell\ncurl -s https://raw.githubusercontent.com/BinaryBirds/swift-format-template/main/.swift-format \u003e .swift-format \u0026\u0026 curl -s https://raw.githubusercontent.com/BinaryBirds/swift-format-template/main/Makefile \u003e\u003e ./Makefile\n```\n\nUsage: \n\n```shell\nmake format\nmake lint\n```\n\nThat's it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarybirds%2Fswift-format-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinarybirds%2Fswift-format-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarybirds%2Fswift-format-template/lists"}