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.
348 lines
10 KiB
Plaintext
348 lines
10 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
|
|
|
|
-- Day 5
|
|
|
|
test-suite day05basictest
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: src/day05/test, src/day05
|
|
main-is: Basic.hs
|
|
other-modules:
|
|
Day5Lib
|
|
build-depends: base
|
|
, HUnit
|
|
, parsec
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
default-language: Haskell2010
|
|
|
|
test-suite day05aoctest
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: src/day05/test, src/day05
|
|
main-is: AoCTest.hs
|
|
other-modules:
|
|
Day5Lib
|
|
build-depends: base
|
|
, HUnit
|
|
, parsec
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
default-language: Haskell2010
|
|
|
|
-- Day 6
|
|
|
|
test-suite day06aoctest
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: src/day06/test, src/day06
|
|
main-is: AoCTest.hs
|
|
other-modules:
|
|
Day6Lib
|
|
build-depends: base
|
|
, HUnit
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
default-language: Haskell2010
|
|
|
|
-- Day 7
|
|
|
|
test-suite day07basictest
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: src/day07/test, src/day07
|
|
main-is: Basic.hs
|
|
other-modules:
|
|
Day7Lib
|
|
build-depends: base
|
|
, HUnit
|
|
, parsec
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
default-language: Haskell2010
|
|
|
|
test-suite day07aoctest
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: src/day07/test, src/day07
|
|
main-is: AoCTest.hs
|
|
other-modules:
|
|
Day7Lib
|
|
build-depends: base
|
|
, HUnit
|
|
, parsec
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
default-language: Haskell2010
|
|
|
|
-- Day 8
|
|
|
|
test-suite day08basictest
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: src/day08/test, src/day08
|
|
main-is: Basic.hs
|
|
other-modules:
|
|
Day8Lib
|
|
build-depends: base
|
|
, HUnit
|
|
, parsec
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
default-language: Haskell2010
|
|
|
|
test-suite day08aoctest
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: src/day08/test, src/day08
|
|
main-is: AoCTest.hs
|
|
other-modules:
|
|
Day8Lib
|
|
build-depends: base
|
|
, HUnit
|
|
, parsec
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
default-language: Haskell2010
|
|
|
|
-- Day 9
|
|
|
|
test-suite day09basictest
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: src/day09/test, src/day09
|
|
main-is: Basic.hs
|
|
other-modules:
|
|
Day9Lib
|
|
build-depends: base
|
|
, HUnit
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
default-language: Haskell2010
|
|
|
|
test-suite day09aoctest
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: src/day09/test, src/day09
|
|
main-is: AoCTest.hs
|
|
other-modules:
|
|
Day9Lib
|
|
build-depends: base
|
|
, HUnit
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
default-language: Haskell2010
|
|
|
|
-- Day 10
|
|
|
|
test-suite day10aoctest
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: src/day10/test, src/day10
|
|
main-is: AoCTest.hs
|
|
other-modules:
|
|
Day10Lib
|
|
build-depends: base
|
|
, HUnit
|
|
, split
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
default-language: Haskell2010
|
|
|
|
-- Day 11
|
|
|
|
test-suite day11aoctest
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: src/day11/test, src/day11
|
|
main-is: AoCTest.hs
|
|
other-modules:
|
|
Day11Lib
|
|
build-depends: base
|
|
, HUnit
|
|
, parsec
|
|
, split
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
default-language: Haskell2010
|
|
|
|
-- Day 12
|
|
|
|
test-suite day12aoctest
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: src/day12/test, src/day12
|
|
main-is: AoCTest.hs
|
|
other-modules:
|
|
Day12Lib
|
|
build-depends: base
|
|
, HUnit
|
|
, pqueue
|
|
, array
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
default-language: Haskell2010
|
|
|
|
-- Day 13
|
|
|
|
test-suite day13basictest
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: src/day13/test, src/day13
|
|
main-is: Basic.hs
|
|
other-modules:
|
|
Day13Lib
|
|
build-depends: base
|
|
, HUnit
|
|
, parsec
|
|
, split
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
default-language: Haskell2010
|
|
|
|
|
|
test-suite day13aoctest
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: src/day13/test, src/day13
|
|
main-is: AoCTest.hs
|
|
other-modules:
|
|
Day13Lib
|
|
build-depends: base
|
|
, HUnit
|
|
, parsec
|
|
, split
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
default-language: Haskell2010 |