-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.yaml
138 lines (130 loc) · 2.45 KB
/
package.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
name: adventofcode
version: 0.1.0.0
github: "oshyshko/adventofcode"
license: BSD3
license-file: LICENSE
author: Alex Shyshko
maintainer: [email protected]
copyright: Alex Shyshko
library:
source-dirs: src
dependencies:
- aeson
- ansi-terminal
- arithmoi
- array
- base
- bitvec
- bytestring
- combinatorial
- containers
- cryptohash-md5
- deepseq
- directory
- exceptions
- filepath
- ghc-compact
- hashable
- hspec # needed to make Atom happy
- mtl
- parsec
- primitive
- psqueues
- safe-exceptions
- scientific
- split
- strict-tuple
- string-qq
- time
- unordered-containers
- vector
- vector-th-unbox
executables:
adventofcode-exe:
main: MainExe.hs
source-dirs: src.exe
dependencies:
- adventofcode
- base
- bytestring
- containers
- directory
- filepath
- process
- split
- template-haskell
ghc-options:
- -rtsopts
tests:
spec:
main: MainTest.hs
source-dirs: test
dependencies:
- base
- adventofcode
- containers
- hspec
- string-qq
- vector
ghc-options:
- -rtsopts
# dependencies:
# - haskell-stack-trace-plugin
ghc-options:
# enable stack traces: uncomment 2 lines, comment 1 line
# - -fplugin=StackTrace.Plugin
# - -Wno-redundant-constraints
- -Wredundant-constraints
- -Wall
- -Werror=missing-methods
- -Werror=type-defaults
- -Werror=incomplete-patterns
- -fno-warn-unused-do-bind
- -O2
# - -fllvm
# from https://kowainik.github.io/posts/2019-02-06-style-guide#general-recommendations
- -Widentities
# - -Wincomplete-uni-patterns
- -Wincomplete-record-updates
# - -Wmissing-export-lists
# - -Wmissing-deriving-strategies <-- 8.8.1
# exclude these for etlas:
- -Wcompat
- -Wpartial-fields
- -fhide-source-paths
- -freverse-errors
# stan
#- -fwrite-ide-info
#- -hiedir=.hie
default-extensions:
- AllowAmbiguousTypes
- BangPatterns
- BinaryLiterals
- BlockArguments
- ConstraintKinds
- DeriveFoldable
- DeriveFunctor
- DeriveGeneric
- DuplicateRecordFields
- FlexibleContexts
- FlexibleInstances
- GADTs
- ImportQualifiedPost
- LambdaCase
- MultiParamTypeClasses
- MultiWayIf
- NamedFieldPuns
- NumericUnderscores
- OverloadedStrings
- PatternSynonyms
- QuasiQuotes
- RankNTypes
- RecordWildCards
- ScopedTypeVariables
- StandaloneDeriving
- StrictData
- TupleSections
- TypeApplications
- TypeFamilies
- TypeOperators
- ViewPatterns