diff options
Diffstat (limited to 'tools/reformat')
| -rwxr-xr-x | tools/reformat | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/reformat b/tools/reformat new file mode 100755 index 0000000..4dfe7c3 --- /dev/null +++ b/tools/reformat @@ -0,0 +1,10 @@ +#!/bin/bash -e + +## tools/reformat +## +## Automatically reformats code in this project to match the project style. + +cd "$(dirname "$0")/.." + +npx prettier --write . +cargo fmt --all |
