Skip to content

Commit c3311cc

Browse files
committed
#535: Use cabal to run hlint and fourmolu on source code.
1 parent d2ab7b5 commit c3311cc

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ test:
1515

1616
.SILENT:
1717
hlint:
18-
hlint src app test
18+
cabal exec hlint -- src app test
1919

2020
.SILENT:
2121
fourmolu:
22-
fourmolu --mode check src app test
22+
cabal exec fourmolu -- --mode check src app test
2323

2424
.SILENT:
2525
coverage:

phino.cabal

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ test-suite spec
156156
containers,
157157
directory,
158158
filepath,
159+
hlint,
159160
hspec,
160161
hspec-core,
161162
megaparsec,

stack.yaml.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ packages:
1313
hackage: xml-conduit-1.10.0.0@sha256:29fa134ed3f2b20bf3026de5116ef30cc14fab61b2d7c8efe261ba7ed217c1a9,3058
1414
snapshots:
1515
- completed:
16-
sha256: 238fa745b64f91184f9aa518fe04bdde6552533d169b0da5256670df83a0f1a9
17-
size: 721141
18-
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/44.yaml
16+
sha256: 7e724f347d5969cb5e8dde9f9aae30996e3231c29d1dafd45f21f1700d4c4fcb
17+
size: 684460
18+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/23/28.yaml
1919
original:
20-
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/44.yaml
20+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/23/28.yaml

0 commit comments

Comments
 (0)