Skip to content

Instantly share code, notes, and snippets.

@subhodi
Last active Feb 5, 2019
Embed
What would you like to do?
run Stylish-haskell
#!/bin/bash
sudo apt-get -y install stylish-haskell
echo "\n Current working directory $PWD/src \n"
FILE="$(find ./src/ -name '*.hs')"
for file in $FILE
do
echo "Processing "$file
echo "$(stylish-haskell $file)" > $file
done
echo "done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment