mirror of
https://github.com/janet-lang/janet
synced 2024-11-16 05:34:48 +00:00
11 lines
262 B
Bash
11 lines
262 B
Bash
|
#!/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
|