diff options
| author | user <user@clank> | 2026-07-18 20:57:37 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-07-18 20:57:37 +0200 |
| commit | 3d2305809e37c446901ea477e065167c997bf54c (patch) | |
| tree | db5d84ced4b47ed76dd514bec774cb008793fada /README.md | |
| parent | docs: concise README (networking + demo gif up front); internals.md (diff) | |
| download | gbos-3d2305809e37c446901ea477e065167c997bf54c.tar.gz gbos-3d2305809e37c446901ea477e065167c997bf54c.tar.xz gbos-3d2305809e37c446901ea477e065167c997bf54c.zip | |
hooks: clang-format pre-commit (changed lines only) + .clang-format
Same setup as sl0pboy: git-clang-format scopes formatting to the lines
each commit touches, re-adds the formatted files, and refuses
partially-staged C files. Style file matches the house style (4-space,
attached braces, 100 cols, short cases/ifs inline, no include sorting -
order is load-bearing for SDCC userland). Enable once:
git config core.hooksPath hooks
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -38,6 +38,7 @@ into the on-screen console. Regenerate it anytime with `tools/gbdemo` (below).* ## Quick start ```sh +git config core.hooksPath hooks # once: clang-format pre-commit hook make # -> gbos.gb (needs RGBDS + SDCC) # solo, in the sl0pboy emulator (~/dev/gbc): |
