2023-12-01 23:03:57 +01:00
|
|
|
cabal-version: 3.0
|
|
|
|
|
|
|
|
name: aoc2023
|
2023-12-02 13:42:14 +01:00
|
|
|
version: 0.0.1
|
2023-12-01 23:03:57 +01:00
|
|
|
synopsis: Solutions to Advent of Code 2023
|
|
|
|
license: MIT
|
|
|
|
author: Maciej Jur
|
|
|
|
maintainer: maciej@kamoshi.org
|
|
|
|
build-type: Simple
|
|
|
|
|
2023-11-28 22:21:26 +01:00
|
|
|
|
|
|
|
common warnings
|
2023-12-01 23:03:57 +01:00
|
|
|
ghc-options: -Wall
|
2023-11-28 22:21:26 +01:00
|
|
|
|
|
|
|
library
|
2023-12-01 23:03:57 +01:00
|
|
|
import: warnings
|
2023-11-28 22:21:26 +01:00
|
|
|
|
2023-12-01 23:03:57 +01:00
|
|
|
hs-source-dirs: solutions
|
2023-11-28 22:21:26 +01:00
|
|
|
|
2023-12-01 23:03:57 +01:00
|
|
|
exposed-modules:
|
|
|
|
Day01
|
|
|
|
Day02
|
2023-12-03 13:12:15 +01:00
|
|
|
Day03
|
2023-12-04 23:07:37 +01:00
|
|
|
Day04
|
2023-12-05 20:31:36 +01:00
|
|
|
Day05
|
2023-12-06 20:33:19 +01:00
|
|
|
Day06
|
2023-12-07 20:54:26 +01:00
|
|
|
Day07
|
2023-12-08 20:45:46 +01:00
|
|
|
Day08
|
2023-12-09 16:13:21 +01:00
|
|
|
Day09
|
2023-12-10 16:46:13 +01:00
|
|
|
Day10
|
2023-12-16 16:41:33 +01:00
|
|
|
Day11
|
2023-12-15 22:03:03 +01:00
|
|
|
Day15
|
2023-11-28 22:21:26 +01:00
|
|
|
|
2023-12-12 19:38:48 +01:00
|
|
|
other-modules:
|
|
|
|
Misc
|
2023-11-28 22:21:26 +01:00
|
|
|
|
2023-12-01 23:03:57 +01:00
|
|
|
-- other-extensions:
|
2023-11-28 22:21:26 +01:00
|
|
|
|
2023-12-01 23:03:57 +01:00
|
|
|
build-depends:
|
2023-12-02 13:42:14 +01:00
|
|
|
base ^>=4.17.2.0,
|
|
|
|
text ^>=2.1,
|
2023-12-16 11:46:07 +01:00
|
|
|
megaparsec ^>=9.6,
|
|
|
|
microlens ^>=0.4.13
|
2023-11-28 22:21:26 +01:00
|
|
|
|
2023-12-01 23:03:57 +01:00
|
|
|
default-language: Haskell2010
|
2023-11-28 22:21:26 +01:00
|
|
|
|
|
|
|
executable aoc2023
|
2023-12-01 23:03:57 +01:00
|
|
|
import: warnings
|
2023-11-28 22:21:26 +01:00
|
|
|
|
2023-12-01 23:03:57 +01:00
|
|
|
main-is: Main.hs
|
2023-11-28 22:21:26 +01:00
|
|
|
|
2023-12-01 23:03:57 +01:00
|
|
|
other-modules:
|
|
|
|
Utils
|
2023-11-28 22:21:26 +01:00
|
|
|
|
2023-12-01 23:03:57 +01:00
|
|
|
-- other-extensions:
|
2023-11-28 22:21:26 +01:00
|
|
|
|
2023-12-01 23:03:57 +01:00
|
|
|
build-depends:
|
|
|
|
base ^>=4.17.2.0,
|
|
|
|
text ^>=2.1,
|
|
|
|
aoc2023
|
2023-11-28 22:21:26 +01:00
|
|
|
|
2023-12-01 23:03:57 +01:00
|
|
|
hs-source-dirs: app
|
2023-11-28 22:21:26 +01:00
|
|
|
|
2023-12-01 23:03:57 +01:00
|
|
|
default-language: Haskell2010
|
2023-11-28 22:21:26 +01:00
|
|
|
|
|
|
|
test-suite aoc2023-test
|
2023-12-01 23:03:57 +01:00
|
|
|
import: warnings
|
2023-11-28 22:21:26 +01:00
|
|
|
|
2023-12-01 23:03:57 +01:00
|
|
|
-- other-modules:
|
2023-11-28 22:21:26 +01:00
|
|
|
|
2023-12-01 23:03:57 +01:00
|
|
|
-- other-extensions:
|
2023-11-28 22:21:26 +01:00
|
|
|
|
2023-12-01 23:03:57 +01:00
|
|
|
type: exitcode-stdio-1.0
|
2023-11-28 22:21:26 +01:00
|
|
|
|
2023-12-01 23:03:57 +01:00
|
|
|
hs-source-dirs: tests
|
2023-11-28 22:21:26 +01:00
|
|
|
|
2023-12-01 23:03:57 +01:00
|
|
|
main-is: Main.hs
|
2023-11-28 22:21:26 +01:00
|
|
|
|
2023-12-01 23:03:57 +01:00
|
|
|
build-depends:
|
|
|
|
base ^>=4.17.2.0,
|
|
|
|
HUnit ^>=1.6,
|
|
|
|
aoc2023
|
2023-11-28 22:21:26 +01:00
|
|
|
|
2023-12-01 23:03:57 +01:00
|
|
|
default-language: Haskell2010
|