Formatting: Update script
This commit is contained in:
@@ -7,6 +7,13 @@ if [ ! "$1" == "" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Formatting directory $(pwd)"
|
echo "Formatting directory $(pwd)"
|
||||||
|
if [ -f .latexindent.yaml ]; then
|
||||||
|
echo "latexindent config found"
|
||||||
|
elif [ -f latexindent.yaml ]; then
|
||||||
|
echo "latexindent config found"
|
||||||
|
else
|
||||||
|
echo "No latexindent config found. Using defaults"
|
||||||
|
fi
|
||||||
|
|
||||||
files=$(find . -type f | grep "\.tex")
|
files=$(find . -type f | grep "\.tex")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user