Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
tools: ditch iwyu
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- committed Sep 17, 2024
1 parent 5a19f37 commit 4853b25
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
6 changes: 2 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 0 additions & 2 deletions src/game/game_string.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

void GameString_Init(void)
{
// IWYU pragma: begin_keep
#include "game_string.def"
// IWYU pragma: end_keep
}

void GameString_Shutdown(void)
Expand Down
2 changes: 1 addition & 1 deletion subprojects/libtrx

0 comments on commit 4853b25

Please sign in to comment.