Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
bazel-*
MODULE.bazel.lock
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this repository, we actually include the lockfile to git as recommended in https://bazel.build/external/lockfile#best-practices

user.bazelrc
.cache
compile_commands.json

# docs build artifacts
_build
docs/ubproject.toml

# ignore folders created by IDEs
.vscode
.idea
# Ignore clangd's config
.clangd
8 changes: 8 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,11 @@ bazel_dep(name = "bazel_skylib", version = "1.8.2")
#############################################################
bazel_dep(name = "platforms", version = "1.0.0")
bazel_dep(name = "score_bazel_platforms", version = "0.1.1")

# Tool to generate compile_commands.json for C++ targets, used by clangd and other tools that support the compilation database format.
bazel_dep(name = "hedron_compile_commands", dev_dependency = True)
git_override(
module_name = "hedron_compile_commands",
remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git",
commit = "4f28899228fb3ad0126897876f147ca15026151e"
)
Loading