We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently when I run ormolu -m 'check' ..., if two files aren't formatted, the tool will output:
ormolu -m 'check' ...
Checking 804 files with ormolu... ExitFailure 100 ExitFailure 100 make: *** [Makefile:194: check-format] Error 102
Here's my make rule, for reference:
check-format: IFS=$$'\n' sourceFiles=("$$(find src test -type f -name "*.hs")"); \ ormolu -m 'check' $${sourceFiles[*]}
It would be useful if the check mode printed the paths of the files which failed to check, and not just ExitFailure 100.
check
ExitFailure 100
The text was updated successfully, but these errors were encountered:
Oh nice I didn't know that -m 'check' exists. Is there an overview of all modes somewhere in the documentation?
Sorry, something went wrong.
Try ormolu --help.
ormolu --help
mrkkrp
Successfully merging a pull request may close this issue.
Currently when I run
ormolu -m 'check' ...
, if two files aren't formatted, the tool will output:Here's my make rule, for reference:
It would be useful if the
check
mode printed the paths of the files which failed to check, and not justExitFailure 100
.The text was updated successfully, but these errors were encountered: