mirror of
https://github.com/barrucadu/dejafu.git
synced 2024-12-29 00:22:38 +03:00
d4df9eed0c
- `lint.sh` runs HLint, returning 1 if HLint is NOT version 1 (as the .hlint.yaml configuration file is only supported in version 2 and later) AND issues are found. - `style.sh` runs stylish-haskell. I would like it to return 1 if it reformatted anything, but the tool doesn't appear to support reporting that :(
6 lines
150 B
Bash
Executable File
6 lines
150 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
for package in concurrency dejafu hunit-dejafu tasty-dejafu; do
|
|
find $package -name '*.hs' -exec stylish-haskell -i {} \;
|
|
done
|