mirror of
https://github.com/janet-lang/janet
synced 2024-11-14 12:44:49 +00:00
4d983e54b5
Also add a number of cfunctions for manipulating structs with prototypes.
14 lines
337 B
Bash
Executable File
14 lines
337 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Format all code with astyle
|
|
|
|
STYLEOPTS="--style=attach --indent-switches --convert-tabs \
|
|
--align-pointer=name --pad-header --pad-oper --unpad-paren --indent-labels --formatted"
|
|
|
|
astyle $STYLEOPTS */*.c
|
|
astyle $STYLEOPTS */*/*.c
|
|
astyle $STYLEOPTS */*/*.h
|
|
rm -f */*.c.orig
|
|
rm -f */*/*.c.orig
|
|
rm -f */*/*.h.orig
|