86 lines
2.1 KiB
YAML
86 lines
2.1 KiB
YAML
name: aoc
|
||
version: 0.0.1.0
|
||
license: MIT
|
||
author: "Alexander Kobjolke"
|
||
maintainer: "alex@jakalx.net"
|
||
copyright: "Alexander Kobjolke 2023"
|
||
description: "Advent-Of-Code"
|
||
|
||
extra-source-files:
|
||
- README.org
|
||
|
||
data-dir: data
|
||
|
||
dependencies:
|
||
- name: base
|
||
mixin:
|
||
- hiding (Prelude)
|
||
- name: relude
|
||
mixin:
|
||
- (Relude as Prelude, Relude, Relude.Unsafe, Relude.Extra.Enum, Relude.Extra.Tuple)
|
||
- containers
|
||
- array
|
||
- text
|
||
- megaparsec
|
||
- regex-tdfa
|
||
|
||
ghc-options:
|
||
- -Weverything
|
||
- -Wno-implicit-prelude
|
||
- -Wno-missing-export-lists
|
||
- -Wno-missing-import-lists # Requires explicit imports of _every_ function (e.g. ‘$’); too strict
|
||
- -Wno-missing-kind-signatures
|
||
- -Wno-missed-specialisations # When GHC can’t specialize a polymorphic function. No big deal and requires fixing underlying libraries to solve.
|
||
- -Wno-all-missed-specialisations # See missed-specialisations
|
||
- -Wno-unsafe # Don’t use Safe Haskell warnings
|
||
- -Wno-safe # Don’t use Safe Haskell warnings
|
||
- -Wno-missing-safe-haskell-mode # Don’t use Safe Haskell warnings
|
||
- -Wno-missing-local-signatures # Warning for polymorphic local bindings; nothing wrong with those.
|
||
- -Wno-monomorphism-restriction # Don’t warn if the monomorphism restriction is used
|
||
- -Wno-prepositive-qualified-module
|
||
- -fdefer-typed-holes
|
||
|
||
- -Wno-unused-packages
|
||
|
||
default-extensions:
|
||
- BlockArguments
|
||
- OverloadedStrings
|
||
- ImportQualifiedPost
|
||
- DerivingStrategies
|
||
|
||
library:
|
||
source-dirs: src
|
||
generated-other-modules: Paths_aoc
|
||
verbatim:
|
||
default-language: GHC2021
|
||
|
||
executables:
|
||
aoc:
|
||
source-dirs: app
|
||
main: aoc.hs
|
||
dependencies:
|
||
- aoc
|
||
verbatim:
|
||
default-language: GHC2021
|
||
|
||
tests:
|
||
spec:
|
||
cpp-options: -DTEST
|
||
main: Spec.hs
|
||
source-dirs:
|
||
- test/spec
|
||
dependencies:
|
||
- aoc
|
||
- hspec
|
||
- QuickCheck
|
||
- quickcheck-instances
|
||
build-tools: hspec-discover
|
||
verbatim:
|
||
default-language: GHC2021
|
||
doctest:
|
||
main: Doctest.hs
|
||
dependencies:
|
||
- process
|
||
source-dirs:
|
||
- test/doctest
|
||
build-tools: doctest
|