File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -30,24 +30,30 @@ init: ## Set up git hooks and ignored revisions.
30
30
# NOTE: Keep this in sync with `.github/workflows/format.yml`.
31
31
FORMAT_DIRS := \
32
32
Cabal \
33
+ Cabal-syntax \
34
+ cabal-install \
35
+ cabal-validate
36
+
37
+ FORMAT_DIRS_TODO := \
33
38
Cabal-QuickCheck \
34
39
Cabal-described \
35
40
Cabal-hooks \
36
- Cabal-syntax \
37
41
Cabal-tests \
38
42
Cabal-tree-diff \
39
43
bootstrap \
40
44
buildinfo-reference-generator \
41
45
cabal-benchmarks \
42
46
cabal-dev-scripts \
43
- cabal-install \
44
47
cabal-install-solver \
45
48
cabal-testsuite/main \
46
49
cabal-testsuite/src \
47
50
cabal-testsuite/static \
48
- cabal-validate \
49
51
solver-benchmarks
50
52
53
+ .PHONY : style-todo
54
+ style-todo : # # Configured for fourmolu, avoiding GHC parser failures
55
+ @fourmolu -q $(FORMAT_DIRS_TODO ) > /dev/null
56
+
51
57
.PHONY : style
52
58
style : # # Run the code styler
53
59
@fourmolu -q -i $(FORMAT_DIRS )
You can’t perform that action at this time.
0 commit comments