haskoin-core/scripts/format
JP Rupp 8fb472f60d
Backwards-incompatible modernisation of package
- Shorten all field names ignoring duplicates using DuplicateRecordFields extension.
- Use OverloadedRecordDot language extension and syntax.
- Use explicit context object from secp256k1-haskell library.
- Unify serialization into custom Marhsal and MarshalJSON classes.
- Use bytestring builders for all JSON toEncoding implementations.
- Use ormolu for formatting.
- Simplify module organisation.
- Strongly break backwards compatibility.
2023-07-28 19:48:43 +01:00

5 lines
118 B
Bash
Executable File

#!/usr/bin/env bash
find src -type f -name "*.hs" | xargs ormolu -i
find test -type f -name "*.hs" | xargs ormolu -i