cabal-version: 3.4 -- The name of the package. name: foo -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change version: 0.1.0.0 license: BSD-3-Clause license-file: LICENSE category: Math build-type: Simple extra-doc-files: CHANGELOG.md, README.md -- Extra source files to be distributed with the package, such as examples, or a tutorial module. extra-source-files: example.csv common common ghc-options: -Wall -threaded default-language: Haskell2010 build-depends: base ^>=4.15.1.0, cassava, aeson, text, unordered-containers, vector, bytestring common test build-depends: hedgehog, random-shuffle executable foo import: common main-is: foo.hs build-depends: foo hs-source-dirs: app executable foo-example import: common main-is: foo-example.hs build-depends: foo hs-source-dirs: app library import: common hs-source-dirs: src exposed-modules: Data.Foo, Data.Foo.Match, Data.Foo.Report, Data.Foo.Example test-suite foo-test import: common, test -- build-depends: foo type: exitcode-stdio-1.0 main-is: foo-test.hs hs-source-dirs: tests library foo-test-lib import: common, test build-depends: foo hs-source-dirs: src-test exposed-modules: Test.Foo