Skip to content

Commit c095c54

Browse files
committed
Split FORMAT_DIRS & FORMAT_DIRS_TODO
1 parent 5f66c84 commit c095c54

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Makefile

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,24 +30,30 @@ init: ## Set up git hooks and ignored revisions.
3030
# NOTE: Keep this in sync with `.github/workflows/format.yml`.
3131
FORMAT_DIRS := \
3232
Cabal \
33+
Cabal-syntax \
34+
cabal-install \
35+
cabal-validate
36+
37+
FORMAT_DIRS_TODO := \
3338
Cabal-QuickCheck \
3439
Cabal-described \
3540
Cabal-hooks \
36-
Cabal-syntax \
3741
Cabal-tests \
3842
Cabal-tree-diff \
3943
bootstrap \
4044
buildinfo-reference-generator \
4145
cabal-benchmarks \
4246
cabal-dev-scripts \
43-
cabal-install \
4447
cabal-install-solver \
4548
cabal-testsuite/main \
4649
cabal-testsuite/src \
4750
cabal-testsuite/static \
48-
cabal-validate \
4951
solver-benchmarks
5052

53+
.PHONY: style-todo
54+
style-todo: ## Configured for fourmolu, avoiding GHC parser failures
55+
@fourmolu -q $(FORMAT_DIRS_TODO) > /dev/null
56+
5157
.PHONY: style
5258
style: ## Run the code styler
5359
@fourmolu -q -i $(FORMAT_DIRS)

0 commit comments

Comments
 (0)