292 lines
5.8 KiB
YAML
292 lines
5.8 KiB
YAML
name: aoc2022
|
|
version: 0.1.0.0
|
|
github: "githubuser/aoc2022"
|
|
license: BSD3
|
|
author: "Author name here"
|
|
maintainer: "example@example.com"
|
|
copyright: "2022 Author name here"
|
|
|
|
extra-source-files:
|
|
- README.md
|
|
- CHANGELOG.md
|
|
|
|
# Metadata used when publishing your package
|
|
# synopsis: Short description of your package
|
|
# category: Web
|
|
|
|
# To avoid duplicated efforts in documentation and dealing with the
|
|
# complications of embedding Haddock markup inside cabal files, it is
|
|
# common to point users to the README.md file.
|
|
description: Please see the README on GitHub at <https://github.com/githubuser/aoc2022#readme>
|
|
|
|
dependencies:
|
|
- base >= 4.7 && < 5
|
|
- split
|
|
- containers
|
|
|
|
ghc-options:
|
|
- -Wall
|
|
- -Wcompat
|
|
- -Widentities
|
|
- -Wincomplete-record-updates
|
|
- -Wincomplete-uni-patterns
|
|
- -Wmissing-export-lists
|
|
- -Wmissing-home-modules
|
|
- -Wpartial-fields
|
|
- -Wredundant-constraints
|
|
|
|
library:
|
|
source-dirs: src
|
|
|
|
executables:
|
|
Day1Part1:
|
|
main: Day1Part1.hs
|
|
other-modules: []
|
|
source-dirs: day1
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -main-is Day1Part1
|
|
dependencies:
|
|
- aoc2022
|
|
|
|
Day1Part2:
|
|
main: Day1Part2.hs
|
|
other-modules: []
|
|
source-dirs: day1
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -main-is Day1Part2
|
|
dependencies:
|
|
- aoc2022
|
|
|
|
Day2Part1:
|
|
main: Day2Part1.hs
|
|
other-modules: []
|
|
source-dirs: day2
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -main-is Day2Part1
|
|
dependencies:
|
|
- aoc2022
|
|
|
|
Day2Part2:
|
|
main: Day2Part2.hs
|
|
other-modules: []
|
|
source-dirs: day2
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -main-is Day2Part2
|
|
dependencies:
|
|
- aoc2022
|
|
|
|
Day3Part1:
|
|
main: Day3Part1.hs
|
|
other-modules: []
|
|
source-dirs: day3
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -main-is Day3Part1
|
|
dependencies:
|
|
- aoc2022
|
|
|
|
Day3Part2:
|
|
main: Day3Part2.hs
|
|
other-modules: []
|
|
source-dirs: day3
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -main-is Day3Part2
|
|
dependencies:
|
|
- aoc2022
|
|
|
|
Day4Part1:
|
|
main: Day4Part1.hs
|
|
other-modules: []
|
|
source-dirs: day4
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -main-is Day4Part1
|
|
dependencies:
|
|
- aoc2022
|
|
|
|
Day4Part2:
|
|
main: Day4Part2.hs
|
|
other-modules: []
|
|
source-dirs: day4
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -main-is Day4Part2
|
|
dependencies:
|
|
- aoc2022
|
|
|
|
Day5Part1:
|
|
main: Day5Part1.hs
|
|
other-modules: []
|
|
source-dirs: day5
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -main-is Day5Part1
|
|
dependencies:
|
|
- aoc2022
|
|
|
|
Day5Part2:
|
|
main: Day5Part2.hs
|
|
other-modules: []
|
|
source-dirs: day5
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -main-is Day5Part2
|
|
dependencies:
|
|
- aoc2022
|
|
|
|
Day6Part1:
|
|
main: Day6Part1.hs
|
|
other-modules: []
|
|
source-dirs: day6
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -main-is Day6Part1
|
|
dependencies:
|
|
- aoc2022
|
|
|
|
Day6Part2:
|
|
main: Day6Part2.hs
|
|
other-modules: []
|
|
source-dirs: day6
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -main-is Day6Part2
|
|
dependencies:
|
|
- aoc2022
|
|
|
|
Day7Part1:
|
|
main: Day7Part1.hs
|
|
other-modules: []
|
|
source-dirs: day7
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -main-is Day7Part1
|
|
dependencies:
|
|
- aoc2022
|
|
|
|
Day7Part2:
|
|
main: Day7Part2.hs
|
|
other-modules: []
|
|
source-dirs: day7
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -main-is Day7Part2
|
|
dependencies:
|
|
- aoc2022
|
|
|
|
Day8Part1:
|
|
main: Day8Part1.hs
|
|
other-modules: []
|
|
source-dirs: day8
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -main-is Day8Part1
|
|
dependencies:
|
|
- aoc2022
|
|
|
|
Day8Part2:
|
|
main: Day8Part2.hs
|
|
other-modules: []
|
|
source-dirs: day8
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -main-is Day8Part2
|
|
dependencies:
|
|
- aoc2022
|
|
|
|
Day9Part1:
|
|
main: Day9Part1.hs
|
|
other-modules: []
|
|
source-dirs: day9
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -main-is Day9Part1
|
|
dependencies:
|
|
- aoc2022
|
|
|
|
Day9Part2:
|
|
main: Day9Part2.hs
|
|
other-modules: []
|
|
source-dirs: day9
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -main-is Day9Part2
|
|
dependencies:
|
|
- aoc2022
|
|
|
|
Day10Part1:
|
|
main: Day10Part1.hs
|
|
other-modules: []
|
|
source-dirs: day10
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -main-is Day10Part1
|
|
dependencies:
|
|
- aoc2022
|
|
|
|
Day10Part2:
|
|
main: Day10Part2.hs
|
|
other-modules: []
|
|
source-dirs: day10
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
- -main-is Day10Part2
|
|
dependencies:
|
|
- aoc2022
|
|
|
|
tests:
|
|
Day1-test:
|
|
main: Day1.hs
|
|
source-dirs: test
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
dependencies:
|
|
- aoc2022
|