forked from int0x191f2/ford-java
Delete newlines when autoformatting
This commit is contained in:
parent
b93bdc2993
commit
285e48e92f
@ -18,4 +18,6 @@
|
||||
OPTS=( --mode=java -xc --style=google -j -s2 -xG -S -K -N -xn -xl -n -p -H )
|
||||
GLOB=( src/**/*.java )
|
||||
astyle $OPTS $GLOB|\grep -P '^(?!Unchanged)'
|
||||
# Get rid of newlines
|
||||
sed -i'' '/^\s*$/d' $GLOB
|
||||
\cd ->/dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user