Skip to content

Commit

Permalink
add fmt command
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-az committed May 11, 2021
1 parent ea13ca3 commit f7b0b38
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions MetaLamp/lending-pool/Makefile
@@ -0,0 +1,7 @@
ORMOLU_VERSION = 0.1.4.1
ORMOLU_OPTIONS = --mode inplace --check-idempotence

fmt:
FMT=$$(stack exec --package ormolu-'$(ORMOLU_VERSION)' which ormolu) && \
find src pab -type f -name \*.hs -exec \
"$$FMT" $(ORMOLU_OPTIONS) '{}' +

0 comments on commit f7b0b38

Please sign in to comment.