on 0.0.4.0 help sign in
ormolu/format.sh
12 lines 352 B history raw
1#!/usr/bin/env nix-shell
2#!nix-shell default.nix -A withOrmolu -i bash --pure
3#
4# Format Ormolu using current version of Ormolu.
6set -e
8export LANG="C.UTF-8"
10ormolu -p -m inplace $(find app -type f -name "*.hs")
11ormolu -p -m inplace $(find src -type f \( -name "*.hs" -o -name "*.hs-boot" \))
12ormolu -p -m inplace $(find tests -type f -name "*.hs")