73 lines
1.5 KiB
Plaintext
73 lines
1.5 KiB
Plaintext
cabal-version: 3.0
|
|
name: Y2022
|
|
version: 0.1.0.0
|
|
synopsis: Solutions to Advent of Code 2022
|
|
-- license: NONE
|
|
author: ctsk
|
|
maintainer: bugs@ctsk.xyz
|
|
build-type: Simple
|
|
|
|
source-repository head
|
|
type: git
|
|
location: https://github.com/ctsk/aoc-2022
|
|
|
|
common warnings
|
|
ghc-options: -Wall
|
|
|
|
common defaults
|
|
default-language: Haskell2010
|
|
build-depends:
|
|
base
|
|
, extra ^>=1.7.14
|
|
, containers
|
|
|
|
|
|
library
|
|
import: warnings, defaults
|
|
hs-source-dirs: src
|
|
c-sources:
|
|
src/Days/D08.c
|
|
exposed-modules:
|
|
Lib
|
|
other-modules:
|
|
Common
|
|
Parse
|
|
Print
|
|
Util
|
|
Days.D01
|
|
Days.D02
|
|
Days.D03
|
|
Days.D04
|
|
Days.D05
|
|
Days.D06
|
|
Days.D07
|
|
Days.D08
|
|
Days.D09
|
|
Days.D10
|
|
Days.D11
|
|
build-depends:
|
|
bytestring
|
|
, lens
|
|
, megaparsec ^>=9.4.0
|
|
, mtl
|
|
, parser-combinators
|
|
, hashable
|
|
, hashtables ^>=1.3.1
|
|
, text
|
|
, vector ^>=0.13.0.0
|
|
|
|
executable Y2022
|
|
import: warnings, defaults
|
|
hs-source-dirs: app
|
|
main-is: Main.hs
|
|
build-depends:
|
|
Y2022
|
|
|
|
benchmark Y2022-bench
|
|
import: defaults
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: bench
|
|
main-is: Bench.hs
|
|
build-depends:
|
|
Y2022
|
|
, criterion ^>=1.6.3.0 |