fix: symlink to compile_commands.json
This commit is contained in:
parent
03756b0429
commit
161e768069
3 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
/.build
|
||||
/.cache
|
||||
/bin
|
||||
compile_commands.json
|
||||
|
|
|
@ -21,7 +21,6 @@ repos:
|
|||
hooks:
|
||||
- id: clang-format
|
||||
- id: clang-tidy
|
||||
args: [-p=.build]
|
||||
|
||||
- repo: https://github.com/cheshirekow/cmake-format-precommit
|
||||
rev: v0.6.13
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
cmake -S . -B .build -G Ninja -D CMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||
ln -s .build/compile_commands.json
|
||||
|
|
Loading…
Reference in a new issue