1
0
Fork 0

fix: symlink to compile_commands.json

main
mandlm 2023-10-22 21:48:05 +02:00
parent 03756b0429
commit 161e768069
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
3 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/.build
/.cache
/bin
compile_commands.json

View File

@ -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

View File

@ -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