{"id":13418363,"url":"https://github.com/rizsotto/Bear","last_synced_at":"2025-03-15T03:31:04.742Z","repository":{"id":5279375,"uuid":"6458557","full_name":"rizsotto/Bear","owner":"rizsotto","description":"Bear is a tool that generates a compilation database for clang tooling.","archived":false,"fork":false,"pushed_at":"2024-10-29T10:23:51.000Z","size":2282,"stargazers_count":4946,"open_issues_count":40,"forks_count":319,"subscribers_count":61,"default_branch":"master","last_synced_at":"2024-10-29T12:02:08.879Z","etag":null,"topics":["build-system","build-tool","clang","compilation-database"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rizsotto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"COPYING","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":["rizsotto"]}},"created_at":"2012-10-30T14:27:29.000Z","updated_at":"2024-10-28T21:08:17.000Z","dependencies_parsed_at":"2023-09-24T15:09:22.486Z","dependency_job_id":"df97379f-d53d-40a1-9ace-f52d61ecafbe","html_url":"https://github.com/rizsotto/Bear","commit_stats":{"total_commits":1143,"total_committers":62,"mean_commits":18.43548387096774,"dds":"0.11811023622047245","last_synced_commit":"5ff94e88c8c6df25d96b8e58b24e314dbb4fb17c"},"previous_names":[],"tags_count":78,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizsotto%2FBear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizsotto%2FBear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizsotto%2FBear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizsotto%2FBear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rizsotto","download_url":"https://codeload.github.com/rizsotto/Bear/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243681024,"owners_count":20330152,"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":["build-system","build-tool","clang","compilation-database"],"created_at":"2024-07-30T22:01:01.440Z","updated_at":"2025-03-15T03:31:03.612Z","avatar_url":"https://github.com/rizsotto.png","language":"C++","funding_links":["https://github.com/sponsors/rizsotto"],"categories":["C++","Build Systems","Tools","Rust","排序","构建系统","Tool"],"sub_categories":["YAML","构建系统","TUI Tool"],"readme":"[![Packaging status](https://repology.org/badge/tiny-repos/bear-clang.svg)](https://repology.org/project/bear-clang/versions)\n[![GitHub release](https://img.shields.io/github/release/rizsotto/Bear)](https://github.com/rizsotto/Bear/releases)\n[![GitHub Release Date](https://img.shields.io/github/release-date/rizsotto/Bear)](https://github.com/rizsotto/Bear/releases)\n[![Continuous Integration](https://github.com/rizsotto/Bear/workflows/continuous%20integration/badge.svg)](https://github.com/rizsotto/Bear/actions)\n[![Contributors](https://img.shields.io/github/contributors/rizsotto/Bear)](https://github.com/rizsotto/Bear/graphs/contributors)\n[![Gitter](https://img.shields.io/gitter/room/rizsotto/Bear)](https://gitter.im/rizsotto/Bear)\n\nʕ·ᴥ·ʔ Build EAR  \n===============\n\nBear is a tool that generates a compilation database for clang tooling.\n\nThe [JSON compilation database][JSONCDB] is used in the clang project\nto provide information on how a single compilation unit is processed.\nWith this, it is easy to re-run the compilation with alternate programs.\n\nSome build system natively supports the generation of JSON compilation\ndatabase. For projects which does not use such build tool, Bear generates\nthe JSON file during the build process.\n\n  [JSONCDB]: http://clang.llvm.org/docs/JSONCompilationDatabase.html\n\nHow to install\n--------------\n\nBear is [packaged](https://repology.org/project/bear-clang/versions) for many\ndistributions. Check out your package manager. Or [build it](INSTALL.md)\nfrom source.\n\nHow to use\n----------\n\nAfter installation the usage is like this:\n\n    bear -- \u003cyour-build-command\u003e\n\nThe output file called `compile_commands.json` is saved in the current directory.\n\nFor more options you can check the man page or pass `--help` parameter. Note\nthat if you want to pass parameter to Bear, pass those _before_ the `--` sign,\neverything after that will be the build command. \n\nPlease be aware that some package manager still ship our old 2.4.x release. \nIn that case please omit the extra `--` sign or consult your local documentation.\n\nFor more, read the man pages or [wiki][WIKI] of the project, which talks about\nlimitations, known issues and platform specific usage. \n\nProblem reports\n---------------\n\nBefore you open a new problem report, please look at the [wiki][WIKI] if your\nproblem is a known one with documented workaround. It's also helpful to look\nat older (maybe closed) [issues][ISSUES] before you open a new one.  \n\nIf you decided to report a problem, try to give as much context as it would\nhelp me to reproduce the error you see. If you just have a question about the\nusage, please don't be shy, ask your question in an issue or in [chat][CHAT].\n\nIf you found a bug, but also found a fix for it, please share it with me and\nopen a pull request.\n\nPlease follow the [contribution guide][GUIDE] when you do these.\n\n  [ISSUES]: https://github.com/rizsotto/Bear/issues\n  [WIKI]: https://github.com/rizsotto/Bear/wiki\n  [CHAT]: https://gitter.im/rizsotto/Bear\n  [GUIDE]: https://github.com/rizsotto/Bear/blob/master/CONTRIBUTING.md\n\n---\n\nThanks to [JetBrains](https://www.jetbrains.com/?from=Bear)\nfor donating product licenses to help develop Bear\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizsotto%2FBear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frizsotto%2FBear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizsotto%2FBear/lists"}