{"id":26621521,"url":"https://github.com/dead-tech/pre-commit-cmake","last_synced_at":"2025-03-24T09:17:00.257Z","repository":{"id":42463716,"uuid":"474689530","full_name":"dead-tech/pre-commit-cmake","owner":"dead-tech","description":"pre-commit hook for cmake projects","archived":false,"fork":false,"pushed_at":"2025-02-10T23:00:25.000Z","size":10,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-11T00:19:22.733Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/dead-tech.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-27T16:10:04.000Z","updated_at":"2022-03-27T16:11:46.000Z","dependencies_parsed_at":"2023-10-03T17:52:10.781Z","dependency_job_id":"89250b1e-be1b-4d18-a30e-f474311344ba","html_url":"https://github.com/dead-tech/pre-commit-cmake","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dead-tech%2Fpre-commit-cmake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dead-tech%2Fpre-commit-cmake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dead-tech%2Fpre-commit-cmake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dead-tech%2Fpre-commit-cmake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dead-tech","download_url":"https://codeload.github.com/dead-tech/pre-commit-cmake/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245240836,"owners_count":20583102,"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":"2025-03-24T09:16:59.563Z","updated_at":"2025-03-24T09:17:00.251Z","avatar_url":"https://github.com/dead-tech.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/dead-tech/pre-commit-cmake/main.svg)](https://results.pre-commit.ci/latest/github/dead-tech/pre-commit-cmake/main)\n# pre-commit-cmake\n\npre-commit hook to build your cmake projects\n\n# Configuration\nBasic configuration:\n```yaml\nrepos:\n  - repo: https://github.com/dead-tech/pre-commit-cmake\n    rev: 'v0.0.4'\n    hooks:\n      - id: cmake-build\n```\n\nOptional arguments are:\n - --build-dir to change default build directory (build/)\n - --release to call cmake in release mode\n - --jobs number of jobs to spawn when invoking make (default is 1)\n\nThose arguments can be set like so:\n```yaml\nrepos:\n  - repo: https://github.com/dead-tech/pre-commit-cmake\n    rev: 'v0.0.4'\n    hooks:\n      - id: cmake-build\n        args: [--release, '--build-dir', '\u003cpath\u003e', '--jobs', '\u003cnumber\u003e']\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdead-tech%2Fpre-commit-cmake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdead-tech%2Fpre-commit-cmake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdead-tech%2Fpre-commit-cmake/lists"}