mirror of
https://github.com/janet-lang/janet
synced 2024-12-24 15:30:27 +00:00
8bbe518696
This involves a bunch of machinery in cook.janet and even a little bit in the janet C API.
11 lines
262 B
Bash
Executable File
11 lines
262 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Format all code with astyle
|
|
|
|
STYLEOPTS="--style=attach --indent-switches --convert-tabs \
|
|
--align-pointer=name --pad-header --pad-oper --unpad-paren --indent-labels"
|
|
|
|
astyle $STYLEOPTS */*.c
|
|
astyle $STYLEOPTS */*/*.c
|
|
astyle $STYLEOPTS */*/*.h
|