11 lines
261 B
Bash
Executable file
11 lines
261 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Check if fix-whitespace is installed, and if so, run it.
|
|
if ! command -v fix-whitespace &> /dev/null
|
|
then
|
|
echo "Please install fix-whitespace (see README.md)"
|
|
exit
|
|
else
|
|
echo "Checking for whitespace violations..."
|
|
fix-whitespace --check
|
|
fi
|