{"id":17053705,"url":"https://github.com/kareman/linuxmain-generator","last_synced_at":"2025-10-11T01:39:41.488Z","repository":{"id":66894342,"uuid":"84985363","full_name":"kareman/linuxmain-generator","owner":"kareman","description":"A shell command to automatically add code to Swift Package Manager projects to run unit tests on Linux.","archived":false,"fork":false,"pushed_at":"2017-05-16T21:05:14.000Z","size":12159,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-28T12:16:00.706Z","etag":null,"topics":["command-line-tool","linux","swift-package-manager","swift3","v"],"latest_commit_sha":null,"homepage":null,"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/kareman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-14T18:46:08.000Z","updated_at":"2024-07-11T14:52:24.000Z","dependencies_parsed_at":"2023-05-13T00:30:32.937Z","dependency_job_id":null,"html_url":"https://github.com/kareman/linuxmain-generator","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kareman%2Flinuxmain-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kareman%2Flinuxmain-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kareman%2Flinuxmain-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kareman%2Flinuxmain-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kareman","download_url":"https://codeload.github.com/kareman/linuxmain-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245060268,"owners_count":20554463,"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":["command-line-tool","linux","swift-package-manager","swift3","v"],"created_at":"2024-10-14T10:13:02.058Z","updated_at":"2025-10-11T01:39:36.464Z","avatar_url":"https://github.com/kareman.png","language":"Swift","readme":"![Platforms](https://img.shields.io/badge/platforms-macOS%20%7C%20Linux-lightgrey.svg)\n\n# linuxmain-generator\n\nAutomatically add code to Swift Package Manager projects to run unit tests on Linux.\n\n```text\nUsage: linuxmain-generator\n  -o,--overwrite:\n      Replace \u003ctest directory\u003e/LinuxMain.swift if it already exists.\n  --testdir \u003ctest directory\u003e:\n      The path to the directory with the unit tests. Default = 'Tests'.\n  \u003cdirectory\u003e:\n      The project root directory. Default = './'.\n```\n\n_This project exists mainly to demonstrate the usage of the [FileSmith](https://github.com/kareman/FileSmith) and [Moderator](https://github.com/kareman/Moderator) projects. Check out [valeriomazzeo/linuxmain-generator](https://github.com/valeriomazzeo/linuxmain-generator) for more features._\n\n## Installation\n\n### Homebrew\n```bash\nbrew install kareman/repo/linuxmain-generator\n```\n\n### Manual\n```bash\ngit clone https://github.com/kareman/linuxmain-generator\ncd linuxmain-generator\nswift build -c release\ncp .build/release/linuxmain-generator /usr/local/bin/linuxmain-generator\n```\n\n## License\n\nReleased under the MIT License (MIT), http://opensource.org/licenses/MIT\n\nKåre Morstøl, [NotTooBad Software](http://nottoobadsoftware.com)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkareman%2Flinuxmain-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkareman%2Flinuxmain-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkareman%2Flinuxmain-generator/lists"}