mirror of
https://github.com/javalsai/lidm.git
synced 2025-07-03 14:25:03 +02:00
chore: ignore compile_commands.json
This commit is contained in:
parent
663427ec95
commit
8b1216c232
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
/lidm
|
/lidm
|
||||||
dist/
|
dist/
|
||||||
|
/compile_commands.json
|
||||||
|
|
||||||
.cache/
|
.cache/
|
||||||
|
@ -1,106 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"directory": "/home/javalsai/coding/lidm",
|
|
||||||
"arguments": [
|
|
||||||
"gcc",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"dist/main.o",
|
|
||||||
"src/main.c",
|
|
||||||
"-O3",
|
|
||||||
"-Iinclude"
|
|
||||||
],
|
|
||||||
"file": "src/main.c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"directory": "/home/javalsai/coding/lidm",
|
|
||||||
"arguments": [
|
|
||||||
"gcc",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"dist/util.o",
|
|
||||||
"src/util.c",
|
|
||||||
"-O3",
|
|
||||||
"-Iinclude"
|
|
||||||
],
|
|
||||||
"file": "src/util.c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"directory": "/home/javalsai/coding/lidm",
|
|
||||||
"arguments": [
|
|
||||||
"gcc",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"dist/ui.o",
|
|
||||||
"src/ui.c",
|
|
||||||
"-O3",
|
|
||||||
"-Iinclude"
|
|
||||||
],
|
|
||||||
"file": "src/ui.c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"directory": "/home/javalsai/coding/lidm",
|
|
||||||
"arguments": [
|
|
||||||
"gcc",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"dist/users.o",
|
|
||||||
"src/users.c",
|
|
||||||
"-O3",
|
|
||||||
"-Iinclude"
|
|
||||||
],
|
|
||||||
"file": "src/users.c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"directory": "/home/javalsai/coding/lidm",
|
|
||||||
"arguments": [
|
|
||||||
"gcc",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"dist/sessions.o",
|
|
||||||
"src/sessions.c",
|
|
||||||
"-O3",
|
|
||||||
"-Iinclude"
|
|
||||||
],
|
|
||||||
"file": "src/sessions.c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"directory": "/home/javalsai/coding/lidm",
|
|
||||||
"arguments": [
|
|
||||||
"gcc",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"dist/efield.o",
|
|
||||||
"src/efield.c",
|
|
||||||
"-O3",
|
|
||||||
"-Iinclude"
|
|
||||||
],
|
|
||||||
"file": "src/efield.c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"directory": "/home/javalsai/coding/lidm",
|
|
||||||
"arguments": [
|
|
||||||
"gcc",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"dist/auth.o",
|
|
||||||
"src/auth.c",
|
|
||||||
"-O3",
|
|
||||||
"-Iinclude"
|
|
||||||
],
|
|
||||||
"file": "src/auth.c"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"directory": "/home/javalsai/coding/lidm",
|
|
||||||
"arguments": [
|
|
||||||
"gcc",
|
|
||||||
"-c",
|
|
||||||
"-o",
|
|
||||||
"dist/config.o",
|
|
||||||
"src/config.c",
|
|
||||||
"-O3",
|
|
||||||
"-Iinclude"
|
|
||||||
],
|
|
||||||
"file": "src/config.c"
|
|
||||||
}
|
|
||||||
]
|
|
@ -11,6 +11,7 @@ For small fixes or incremental improvements simply fork the repo and follow the
|
|||||||
1. [Fork](https://help.github.com/articles/fork-a-repo/) the repository and [clone](https://help.github.com/articles/cloning-a-repository/) your fork.
|
1. [Fork](https://help.github.com/articles/fork-a-repo/) the repository and [clone](https://help.github.com/articles/cloning-a-repository/) your fork.
|
||||||
|
|
||||||
2. Start coding!
|
2. Start coding!
|
||||||
|
- Configure clangd LSP by generating `compile_commands.json` (e.g. `bear -- make` or `compiledb make`)
|
||||||
- Implement your feature.
|
- Implement your feature.
|
||||||
- Check your code works as expected.
|
- Check your code works as expected.
|
||||||
- Run the code formatter: `clang-format -i $(git ls-files "*.cpp" "*.h")`
|
- Run the code formatter: `clang-format -i $(git ls-files "*.cpp" "*.h")`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user