tools: ditch iwyu
Some checks failed
Run code linters / Run code linters (push) Failing after 1s
Publish a pre-release / Build prerelease assets (push) Has been skipped
Publish a pre-release / Create a prerelease (push) Has been skipped

This commit is contained in:
Marcin Kurczewski 2024-09-17 23:27:23 +02:00
parent ca58dd4eaf
commit 5a5a3a3c13
No known key found for this signature in database
GPG Key ID: CC65E6FD28CAE42A
3 changed files with 3 additions and 7 deletions

View File

@ -62,9 +62,7 @@ even refuse to compile.
This project uses [pre-commit](https://pre-commit.com/) to make sure the code
is formatted the right way. This tool has additional external dependencies:
`clang-format` for automatic code formatting and `include-what-you-use` to
remove unused `#include`s.
To install pre-commit:
`clang-format` for automatic code formatting. To install pre-commit:
```
python3 -m pip install --user pre-commit
@ -74,7 +72,7 @@ pre-commit install
To install required external dependencies on Ubuntu:
```
apt-get install -y iwyu clang-format-18
apt-get install -y clang-format-18
```
After this, each time you make a commit a hook should trigger to automatically

View File

@ -4,9 +4,7 @@
void GameString_Init(void)
{
// IWYU pragma: begin_keep
#include "game_string.def"
// IWYU pragma: end_keep
}
void GameString_Shutdown(void)

@ -1 +1 @@
Subproject commit 0d395b79ec7cea7afd40fe241a535b3bb48602a6
Subproject commit c1f3ab51a07bd8ff93f975b3112830f838147a21