Skip to content

Commit

Permalink
Re-sort fields. KSG Cabal V1.1.0 - 3.7.1. Refs #72.
Browse files Browse the repository at this point in the history
The fields inside executables and test benches must follow a spcific order.
With respect to these changes, the order must be:

- default-language
- hs-source-dirs
- compiler options
- flag-dependent configuration
  • Loading branch information
myroslambda committed Aug 11, 2020
1 parent 63981ac commit 78292fc
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions keera-hails-mvc-view-gtk/keera-hails-mvc-view-gtk.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ test-suite hlint
main-is:
HLintMain.hs

default-language:
Haskell2010

hs-source-dirs:
tests

Expand All @@ -73,10 +76,6 @@ test-suite hlint
base
, hlint >= 1.7

default-language:
Haskell2010


-- Verify that the code is thoroughly documented
test-suite haddock-coverage

Expand All @@ -86,12 +85,15 @@ test-suite haddock-coverage
main-is:
HaddockCoverage.hs

ghc-options:
-Wall
default-language:
Haskell2010

hs-source-dirs:
tests

ghc-options:
-Wall

if !flag(test-doc-coverage)
buildable: False
else
Expand All @@ -101,6 +103,3 @@ test-suite haddock-coverage
, filepath
, process
, regex-posix

default-language:
Haskell2010

0 comments on commit 78292fc

Please sign in to comment.