1
0
Fork 0
x64dbg/.github/format/README.md

1.4 KiB

Formatter

The main formatter integration for this repository is still the bundled Windows tool:

These are used by the existing Windows workflows and helper scripts.

For Linux users, there is also a Python port at .github/format/AStyleHelper.py. It uses uv script metadata and the astyle wheel.

Windows usage

format.bat

Or directly:

.github\format\AStyleHelper.exe Silent
.github\format\AStyleHelper.exe Check

Linux usage

uv run --script .github/format/AStyleHelper.py
uv run --script .github/format/AStyleHelper.py Silent
uv run --script .github/format/AStyleHelper.py Check

Running the script without Silent or Check formats the tree and prints each file as it is processed, so users get progress output.

The Python script keeps the old Silent / Check CLI so it can act as a compatible alternative on non-Windows systems. It formats the git repository containing the current working directory (falling back to the current directory if not in git), and skips files matched by git ignore rules via git check-ignore --no-index.