master amadaluzia/rosetta-collatz / haskell / package.yaml
 1name:                rosetta-collatz
 2version:             0.1.0.0
 3license:             0BSD
 4author:              "Artur Manuel"
 5maintainer:          "amadaluzia@disroot.org"
 6copyright:           "2025 Artur Manuel <amadaluzia@disroot.org>"
 7
 8# Metadata used when publishing your package
 9# synopsis:            Short description of your package
10# category:            Web
11
12# To avoid duplicated efforts in documentation and dealing with the
13# complications of embedding Haddock markup inside cabal files, it is
14# common to point users to the README.md file.
15dependencies:
16- base >= 4.7 && < 5
17
18ghc-options:
19- -Wall
20- -Wcompat
21- -Widentities
22- -Wincomplete-record-updates
23- -Wincomplete-uni-patterns
24- -Wmissing-export-lists
25- -Wmissing-home-modules
26- -Wpartial-fields
27- -Wredundant-constraints
28
29library:
30  source-dirs: src
31
32executables:
33  rosetta-collatz-exe:
34    main:                Main.hs
35    source-dirs:         app
36    ghc-options:
37    - -threaded
38    - -rtsopts
39    - -with-rtsopts=-N
40    dependencies:
41    - rosetta-collatz
42
43tests:
44  rosetta-collatz-test:
45    main:                Spec.hs
46    source-dirs:         test
47    ghc-options:
48    - -threaded
49    - -rtsopts
50    - -with-rtsopts=-N
51    dependencies:
52    - rosetta-collatz