souplesse.cabal (3543B)
1 cabal-version: 3.0 2 -- The cabal-version field refers to the version of the .cabal specification, 3 -- and can be different from the cabal-install (the tool) version and the 4 -- Cabal (the library) version you are using. As such, the Cabal (the library) 5 -- version used must be equal or greater than the version stated in this field. 6 -- Starting from the specification version 2.2, the cabal-version field must be 7 -- the first thing in the cabal file. 8 9 -- Initial package description 'souplesse' generated by 10 -- 'cabal init'. For further documentation, see: 11 -- http://haskell.org/cabal/users-guide/ 12 -- 13 -- The name of the package. 14 name: souplesse 15 16 -- The package version. 17 -- See the Haskell package versioning policy (PVP) for standards 18 -- guiding when and how versions should be incremented. 19 -- https://pvp.haskell.org 20 -- PVP summary: +-+------- breaking API changes 21 -- | | +----- non-breaking API additions 22 -- | | | +--- code changes with no API change 23 version: 0.1.0.0 24 25 -- A short (one-line) description of the package. 26 -- synopsis: 27 28 -- A longer description of the package. 29 -- description: 30 31 -- The license under which the package is released. 32 license: AGPL-3.0-only 33 34 -- The file containing the license text. 35 license-file: LICENSE 36 37 -- The package author(s). 38 author: Daniel Barlow 39 40 -- An email address to which users can send suggestions, bug reports, and patches. 41 maintainer: <dan@telent.net> 42 43 -- A copyright notice. 44 -- copyright: 45 category: Web 46 build-type: Simple 47 48 -- Extra doc files to be distributed with the package, such as a CHANGELOG or a README. 49 extra-doc-files: CHANGELOG.md 50 51 -- Extra source files to be distributed with the package, such as examples, or a tutorial module. 52 -- extra-source-files: 53 54 common warnings 55 ghc-options: -Wall 56 57 executable souplesse 58 -- Import common warning flags. 59 import: warnings 60 61 -- .hs or .lhs file containing the Main module. 62 main-is: Main.hs 63 64 -- Modules included in this executable, other than Main. 65 -- other-modules: 66 67 -- LANGUAGE extensions used by modules in this package. 68 -- other-extensions: 69 70 -- Other library packages from which modules are imported. 71 build-depends: 72 base ^>=4.18.2.1 73 , aeson 74 , souplesse-lib 75 , text 76 , bytestring 77 , persistent 78 , persistent-postgresql 79 , resourcet 80 , monad-logger 81 , time 82 , transformers 83 , yesod-core == 1.6.25.1 84 , yesod-static 85 , yesod-form 86 , yesod-persistent 87 88 -- Directories containing source files. 89 hs-source-dirs: app 90 91 -- Base language which the package is written in. 92 default-language: GHC2021 93 94 -- mostly copied from 95 -- https://functional.works-hub.com/learn/basic-unit-testing-in-haskell-using-hunit-and-cabal-29e47 96 97 library souplesse-lib 98 exposed-modules: 99 Track 100 Point 101 Session 102 hs-source-dirs: 103 lib 104 build-depends: 105 base >=4.7 && <5 106 , aeson 107 , bytestring 108 , xml-conduit 109 , time 110 , containers 111 , text 112 , raw-strings-qq 113 , transformers 114 , persistent 115 , persistent-postgresql 116 , iso8601-time 117 default-language: GHC2021 118 119 test-suite tests 120 type: exitcode-stdio-1.0 121 main-is: UnitTest.hs 122 hs-source-dirs: 123 tests 124 build-depends: 125 base >=4.7 && <5 126 , souplesse-lib 127 , raw-strings-qq 128 , time 129 , HUnit 130 default-language: GHC2021