diff --git a/.gitignore b/.gitignore index cfb7ebd..0843516 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /lidm dist/ +/compile_commands.json .cache/ diff --git a/compile_commands.json b/compile_commands.json deleted file mode 100644 index 4d6b6a7..0000000 --- a/compile_commands.json +++ /dev/null @@ -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" - } -] diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 5d24567..c5e2f85 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -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. 2. Start coding! + - Configure clangd LSP by generating `compile_commands.json` (e.g. `bear -- make` or `compiledb make`) - Implement your feature. - Check your code works as expected. - Run the code formatter: `clang-format -i $(git ls-files "*.cpp" "*.h")`