aoc2024.cabal (4051B)
1 cabal-version: 3.4 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 'aoc2024' 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: aoc2024 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: MIT 33 34 -- The file containing the license text. 35 license-file: LICENSE 36 37 -- The package author(s). 38 author: Ethan Long 39 40 -- An email address to which users can send suggestions, bug reports, and patches. 41 maintainer: ethandavidlong@gmail.com 42 43 -- A copyright notice. 44 -- copyright: 45 category: Advent of Code Challenge 2024 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 library 58 -- Import common warning flags. 59 import: warnings 60 61 -- Modules exported by the library. 62 exposed-modules: 63 Solutions 64 65 -- Modules included in this library but not exported. 66 other-modules: 67 Utils 68 Day1 69 Day2 70 Day3 71 Day4 72 Day5 73 74 -- LANGUAGE extensions used by modules in this package. 75 -- other-extensions: 76 77 -- Other library packages from which modules are imported. 78 build-depends: 79 base ^>=4.19.0.0, 80 regex-tdfa == 1.3.2.2, 81 regex-base == 0.94.0.2, 82 vector == 0.13.2.0 83 84 -- Directories containing source files. 85 hs-source-dirs: src 86 87 -- Base language which the package is written in. 88 default-language: GHC2021 89 90 executable aoc2024 91 -- Import common warning flags. 92 import: warnings 93 94 -- .hs or .lhs file containing the Main module. 95 main-is: Main.hs 96 97 -- Modules included in this executable, other than Main. 98 -- other-modules: 99 100 -- LANGUAGE extensions used by modules in this package. 101 -- other-extensions: 102 103 -- Other library packages from which modules are imported. 104 build-depends: 105 base ^>=4.19.0.0, 106 aoc2024 107 108 -- Directories containing source files. 109 hs-source-dirs: app 110 111 -- Base language which the package is written in. 112 default-language: GHC2021 113 114 test-suite aoc2024-test 115 -- Import common warning flags. 116 import: warnings 117 118 -- Base language which the package is written in. 119 default-language: GHC2021 120 121 -- Modules included in this executable, other than Main. 122 -- other-modules: 123 124 -- LANGUAGE extensions used by modules in this package. 125 -- other-extensions: 126 127 -- The interface type and version of the test suite. 128 type: exitcode-stdio-1.0 129 130 -- Directories containing source files. 131 hs-source-dirs: test 132 133 -- The entrypoint to the test suite. 134 main-is: Main.hs 135 136 -- Test dependencies. 137 build-depends: 138 base ^>=4.19.0.0, 139 aoc2024, 140 doctest, 141 regex-tdfa == 1.3.2.2, 142 regex-base == 0.94.0.2, 143 vector == 0.13.2.0