You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
160 lines
4.8 KiB
Plaintext
160 lines
4.8 KiB
Plaintext
name: aoc2022
|
|
version: 0.1.0.0
|
|
-- synopsis:
|
|
-- description:
|
|
homepage: https://git.raptorpond.com/henine/AoC2022
|
|
license: MIT
|
|
license-file: LICENSE
|
|
author: henine
|
|
maintainer: example@example.com
|
|
copyright: 2022 HeNine
|
|
category: Misc
|
|
build-type: Simple
|
|
cabal-version: >=1.10
|
|
|
|
-- Day 1
|
|
|
|
test-suite day01aoctest
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: src/day01/test, src/day01
|
|
main-is: AoCTest.hs
|
|
other-modules:
|
|
Day1Lib
|
|
build-depends: base
|
|
, HUnit
|
|
, split
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
default-language: Haskell2010
|
|
|
|
executable day011
|
|
hs-source-dirs: src/day01
|
|
main-is: Main1.hs
|
|
other-modules:
|
|
Day1Lib
|
|
default-language: Haskell2010
|
|
build-depends: base >= 4.7 && < 5, split
|
|
ghc-options: -Wall
|
|
-Wcompat
|
|
-Widentities
|
|
-Wincomplete-record-updates
|
|
-Wincomplete-uni-patterns
|
|
-Wmissing-export-lists
|
|
-Wmissing-home-modules
|
|
-Wpartial-fields
|
|
-Wredundant-constraints
|
|
|
|
executable day012
|
|
hs-source-dirs: src/day01
|
|
main-is: Main2.hs
|
|
other-modules:
|
|
Day1Lib
|
|
default-language: Haskell2010
|
|
build-depends: base >= 4.7 && < 5, split
|
|
ghc-options: -Wall
|
|
-Wcompat
|
|
-Widentities
|
|
-Wincomplete-record-updates
|
|
-Wincomplete-uni-patterns
|
|
-Wmissing-export-lists
|
|
-Wmissing-home-modules
|
|
-Wpartial-fields
|
|
-Wredundant-constraints
|
|
|
|
-- Day 2
|
|
|
|
test-suite day02aoctest
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: src/day02/test, src/day02
|
|
main-is: AoCTest.hs
|
|
other-modules:
|
|
Day2Lib
|
|
build-depends: base
|
|
, HUnit
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
default-language: Haskell2010
|
|
|
|
executable day021
|
|
hs-source-dirs: src/day02
|
|
main-is: Main1.hs
|
|
other-modules:
|
|
Day2Lib
|
|
default-language: Haskell2010
|
|
build-depends: base >= 4.7 && < 5, split
|
|
ghc-options: -Wall
|
|
-Wcompat
|
|
-Widentities
|
|
-Wincomplete-record-updates
|
|
-Wincomplete-uni-patterns
|
|
-Wmissing-export-lists
|
|
-Wmissing-home-modules
|
|
-Wpartial-fields
|
|
-Wredundant-constraints
|
|
|
|
executable day022
|
|
hs-source-dirs: src/day02
|
|
main-is: Main2.hs
|
|
other-modules:
|
|
Day2Lib
|
|
default-language: Haskell2010
|
|
build-depends: base >= 4.7 && < 5, split
|
|
ghc-options: -Wall
|
|
-Wcompat
|
|
-Widentities
|
|
-Wincomplete-record-updates
|
|
-Wincomplete-uni-patterns
|
|
-Wmissing-export-lists
|
|
-Wmissing-home-modules
|
|
-Wpartial-fields
|
|
-Wredundant-constraints
|
|
|
|
-- Day 3
|
|
|
|
test-suite day03basictest
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: src/day03/test, src/day03
|
|
main-is: Basic.hs
|
|
other-modules:
|
|
Day3Lib
|
|
build-depends: base
|
|
, HUnit
|
|
, split
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
default-language: Haskell2010
|
|
|
|
test-suite day03aoctest
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: src/day03/test, src/day03
|
|
main-is: AoCTest.hs
|
|
other-modules:
|
|
Day3Lib
|
|
build-depends: base
|
|
, HUnit
|
|
, split
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
default-language: Haskell2010
|
|
|
|
-- Day 4
|
|
|
|
test-suite day04basictest
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: src/day04/test, src/day04
|
|
main-is: Basic.hs
|
|
other-modules:
|
|
Day4Lib
|
|
build-depends: base
|
|
, HUnit
|
|
, split
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
default-language: Haskell2010
|
|
|
|
test-suite day04aoctest
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: src/day04/test, src/day04
|
|
main-is: AoCTest.hs
|
|
other-modules:
|
|
Day4Lib
|
|
build-depends: base
|
|
, HUnit
|
|
, split
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
default-language: Haskell2010 |