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