File tree Expand file tree Collapse file tree 5 files changed +998
-547
lines changed
Expand file tree Collapse file tree 5 files changed +998
-547
lines changed Original file line number Diff line number Diff line change @@ -29,16 +29,16 @@ init: ## Set up git hooks and ignored revisions
2929
3030.PHONY : style
3131style : # # Run the code styler
32- @fourmolu -q -i Cabal Cabal-syntax cabal-install
32+ @fourmolu -q -i Cabal Cabal-syntax cabal-install cabal-validate
3333
3434.PHONY : style-modified
3535style-modified : # # Run the code styler on modified files
36- @git ls-files --modified Cabal Cabal-syntax cabal-install \
36+ @git ls-files --modified Cabal Cabal-syntax cabal-install cabal-validate \
3737 | grep ' .hs$$' | xargs -P $(PROCS ) -I {} fourmolu -q -i {}
3838
3939.PHONY : style-commit
4040style-commit : # # Run the code styler on the previous commit
41- @git diff --name-only HEAD $(COMMIT ) Cabal Cabal-syntax cabal-install \
41+ @git diff --name-only HEAD $(COMMIT ) Cabal Cabal-syntax cabal-install cabal-validate \
4242 | grep ' .hs$$' | xargs -P $(PROCS ) -I {} fourmolu -q -i {}
4343
4444# source generation: SPDX
Original file line number Diff line number Diff line change 1+ cabal-version : 3.0
2+ name : cabal-validate
3+ version : 1.0.0
4+ copyright : 2024-2024, Cabal Development Team (see AUTHORS file)
5+ license : BSD-3-Clause
6+ author : Cabal Development Team <
[email protected] >
7+ synopsis : An internal tool for building and testing the Cabal package manager
8+ build-type : Simple
9+
10+ common warnings
11+ ghc-options : -Wall
12+
13+ executable cabal-validate
14+ import : warnings
15+ default-language : Haskell2010
16+ default-extensions :
17+ OverloadedStrings
18+ , TypeApplications
19+ ghc-options : -O -threaded -rtsopts -with-rtsopts=-N
20+
21+ if impl(ghc < 9.6 )
22+ -- Pattern exhaustiveness checker is not as good, misses a case.
23+ ghc-options : -Wno-incomplete-patterns
24+
25+ main-is : Main.hs
26+ hs-source-dirs : main
27+
28+ build-depends :
29+ base >= 4 && < 5
30+ , ansi-terminal >= 1 && < 2
31+ , turtle >= 1 && < 2
32+ , optparse-applicative >= 0.18 && < 1
33+ , containers >= 0.6 && < 1
34+ , directory >= 1.0 && < 2
35+ , text >= 2 && < 3
36+ , terminal-size >= 0.3 && < 1
37+ , time >= 1 && < 2
You can’t perform that action at this time.
0 commit comments