-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.yaml
176 lines (165 loc) · 4.49 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
name: frugel
version: 0.0.2.0
github: "cdfa/frugel"
license: GPL-3
author: "Colin de Roos"
maintainer: "colinderoos[at]gmail[dot]com"
copyright: "2021 Colin de Roos"
extra-source-files:
- README.md
data-dir: www
data-files:
- bulma.min.css
- style.css
- index.html
# 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: An Error-tolerant Live Programming Environment
dependencies:
- relude >= 1.0.0.0
- mtl
ghc-options:
- -Wall
- -Wincomplete-uni-patterns
- -Wincomplete-record-updates
- -Wcompat
- -Widentities
- -Wredundant-constraints
- -fhide-source-paths
- -fno-show-valid-hole-fits # Until https://gitlab.haskell.org/ghc/ghc/-/issues/16875 is resolved
- -j
default-extensions:
- OverloadedStrings
- OverloadedLabels
- DisambiguateRecordFields
- DeriveGeneric
library:
source-dirs:
- prelude # In separate directory to share with other components to resolve issues with implicit prelude in ghci (also see https://github.com/commercialhaskell/stack/issues/3862)
- src
other-modules: Prelude
when:
- condition: impl(ghcjs)
then:
dependencies: base-noprelude-ghcjs >= 4.7 && < 5
else:
dependencies: base-noprelude >= 4.7 && < 5
# Note: you may need to stack build before changes are reflected in the editor, because we use a cabal cradle for this component, because stack repl does not support internal libraries https://github.com/commercialhaskell/stack/issues/4564
dependencies:
- prettyprinter ^>= 1.7.0
- composition
- optics ^>= 0.4
- optics-vl ^>= 0.2.1
- lens
internal-libraries:
scout:
when:
- condition: impl(ghcjs)
then:
dependencies: base-noprelude-ghcjs >= 4.7 && < 5
else:
dependencies: base-noprelude >= 4.7 && < 5
- condition: false # Work around hpack issue https://github.com/sol/hpack/issues/303
other-modules: Paths_frugel
source-dirs:
- prelude
- scout-src
other-modules:
- Prelude
- BasicEvaluation
dependencies:
- frugel
- megaparsec ^>= 9.0.1
- parser-combinators
- containers
- prettyprinter ^>= 1.7.0
- composition
- it-has
- optics ^>= 0.4
- lens
- multiset
- genvalidity
- validity-text
- validity-containers
- genvalidity-text
- genvalidity-containers
- QuickCheck
- testing-feat
- size-based
- dictionary-sharing
- generic-data ^>= 0.8.0.0
- Interpolation
# Until https://github.com/well-typed/optics/pull/430/files# is merged
- optics-core ^>= 0.4
- profunctors
- indexed-profunctors
executables:
frugel-exe:
main: Main.hs
source-dirs:
- prelude
- app
ghc-options:
- -threaded
- -rtsopts
- '"-with-rtsopts=--nonmoving-gc -A16M -M1G -N -Mgrace=16M"'
- -feager-blackholing
ghcjs-options:
- -dedupe
- '"-with-rtsopts=--nonmoving-gc -N"' # sadly, it seems no heap overflow exceptions are thrown when the heap is limitied with ghcjs
dependencies:
- frugel
- scout
- miso ^>= 1.8.0.0
- pretty-show
- prettyprinter ^>= 1.7.0
- aeson
- QuickCheck
- multiset
- composition
- lens
- Interpolation
when:
- condition: impl(ghcjs)
then:
dependencies: base-noprelude-ghcjs >= 4.7 && < 5
else:
dependencies:
- base-noprelude >= 4.7 && < 5
- jsaddle ^>= 0.9.8
- jsaddle-warp ^>= 0.9
- websockets ^>= 0.12.7
- warp ^>= 3.3.17
- wai-app-static ^>= 3.1.7
- directory
- filepath
tests:
frugel-test:
main: Spec.hs
source-dirs:
- prelude
- test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- base-noprelude >= 4.7 && < 5
- containers
- frugel
- scout
- QuickCheck
- genvalidity
- genvalidity-containers
- sydtest
- genvalidity-sydtest
- multiset
when:
- condition: impl(ghcjs)
buildable: false
- condition: false # Work around hpack issue https://github.com/sol/hpack/issues/303
other-modules: Paths_frugel