Skip to content

Commit

Permalink
Re-sort fields in sections (KSG Cabal 1.3.0 - 3.7.1). Refs #196.
Browse files Browse the repository at this point in the history
Fields within library, executable, test suites and benchmarks are listed
in the following order:
- type, if applicable
- main-is, if applicable
- exposed-modules, if applicable
- other-modules, if applicable
- build-depends
- default-language
- hs-source-dirs
- compiler options
- flag-dependent configuration
  • Loading branch information
ivanperez-keera committed Mar 13, 2022
1 parent a8fc851 commit d9fc1f2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions yampa-test/yampa-test.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,12 @@ library
Yampa >= 0.13.3 && < 0.14,
QuickCheck,
normaldistribution
hs-source-dirs: src
default-language: Haskell2010
hs-source-dirs: src

test-suite yampa-quicheck
type: exitcode-stdio-1.0
main-is: YampaQC.hs
ghc-options: -Wall
default-language: Haskell2010

hs-source-dirs: tests
build-depends:
base < 5,
random,
Expand All @@ -92,3 +88,6 @@ test-suite yampa-quicheck
tasty-quickcheck,
Yampa,
yampa-test
default-language: Haskell2010
hs-source-dirs: tests
ghc-options: -Wall

0 comments on commit d9fc1f2

Please sign in to comment.