{"id":13450851,"url":"https://github.com/brown/bazel-mode","last_synced_at":"2025-03-23T16:32:23.716Z","repository":{"id":66526873,"uuid":"128703948","full_name":"brown/bazel-mode","owner":"brown","description":"GNU Emacs mode for editing Bazel BUILD files","archived":false,"fork":false,"pushed_at":"2021-04-13T01:04:02.000Z","size":28,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-28T17:39:30.495Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","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/brown.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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}},"created_at":"2018-04-09T02:33:52.000Z","updated_at":"2023-05-05T01:06:18.000Z","dependencies_parsed_at":"2023-03-15T08:30:12.638Z","dependency_job_id":null,"html_url":"https://github.com/brown/bazel-mode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brown%2Fbazel-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brown%2Fbazel-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brown%2Fbazel-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brown%2Fbazel-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brown","download_url":"https://codeload.github.com/brown/bazel-mode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245131043,"owners_count":20565760,"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-07-31T07:00:39.335Z","updated_at":"2025-03-23T16:32:23.414Z","avatar_url":"https://github.com/brown.png","language":"Emacs Lisp","readme":"\nBazel Mode\n==========\n\nBazel Mode is a GNU Emacs major mode for editing Bazel BUILD, WORKSPACE, and\nbzl files, which are written in the Starlark language.\n\nTo use Bazel Mode, add the following to your .emacs file after replacing\n\"/path/to/bazel-mode/directory\" with the location where you installed Bazel\nMode:\n\n    (add-to-list 'load-path \"/path/to/bazel-mode/directory\")\n    (autoload 'bazel-mode \"bazel-mode\" \"Major mode for Bazel BUILD files.\" t)\n    (add-to-list 'auto-mode-alist '(\"/BUILD\\\\(\\\\..*\\\\)?\\\\'\" . bazel-mode))\n    (add-to-list 'auto-mode-alist '(\"/WORKSPACE\\\\'\" . bazel-mode))\n    (add-to-list 'auto-mode-alist '(\"\\\\.\\\\(BUILD\\\\|WORKSPACE\\\\|bzl\\\\)\\\\'\" . bazel-mode))\n\nBazel Mode supports reformatting BUILD files with buildifier.  To use this\nfeature, you'll need to download and install buildifier, which is part of\nGoogle's buildtools package:\n\n    git clone https://github.com/bazelbuild/buildtools.git\n    cd buildtools\n    bazel build //buildifier\n\nand then install buildifier in some directory that's in your PATH shell\nenvironment variable.\n\nOnce buildifier is installed, you can use it in two different ways.  First,\nBazel Mode supports reformatting BUILD buffers by running bazel-format, which\nis bound to the key sequence C-c C-f.  Additionally, you can configure Emacs to\nautomatically format files with buildifier before saving them by adding the\nfollowing to your .emacs file:\n\n    (add-hook 'bazel-mode-hook\n              (lambda ()\n                (add-hook 'before-save-hook #'bazel-format nil t)))\n","funding_links":[],"categories":["Tooling"],"sub_categories":["Editors"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrown%2Fbazel-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrown%2Fbazel-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrown%2Fbazel-mode/lists"}