-
Notifications
You must be signed in to change notification settings - Fork 6
/
elm-street.cabal
139 lines (122 loc) · 4.46 KB
/
elm-street.cabal
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
cabal-version: 2.4
name: elm-street
version: 0.2.2.1
synopsis: Crossing the road between Haskell and Elm
description:
`Elm-street` allows you to generate automatically derived from Haskell types
definitions of Elm data types, JSON encoders and decoders. This helps to avoid
writing and maintaining huge chunk of boilerplate code when developing full-stack
applications.
homepage: https://github.com/Holmusk/elm-street
bug-reports: https://github.com/Holmusk/elm-street/issues
license: MPL-2.0
license-file: LICENSE
author: Veronika Romashkina, Dmitrii Kovanikov
maintainer: Holmusk <tech@holmusk.com>
copyright: 2019 Holmusk
category: Language, Compiler, Elm
build-type: Simple
extra-doc-files: README.md
CHANGELOG.md
extra-source-files: test/golden/oneType.json
tested-with: GHC == 9.0.2
GHC == 9.2.8
GHC == 9.4.8
GHC == 9.6.5
GHC == 9.8.2
source-repository head
type: git
location: https://github.com/Holmusk/elm-street.git
common common-options
build-depends: base >= 4.11.1.0 && < 4.20
ghc-options: -Wall
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wcompat
-Widentities
-Wredundant-constraints
-fhide-source-paths
-Wmissing-export-lists
-Wpartial-fields
default-language: Haskell2010
default-extensions: ConstraintKinds
DeriveGeneric
GeneralizedNewtypeDeriving
InstanceSigs
KindSignatures
LambdaCase
OverloadedStrings
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
TypeOperators
ViewPatterns
library
import: common-options
hs-source-dirs: src
exposed-modules: Elm
Elm.Aeson
Elm.Ast
Elm.Generate
Elm.Generic
Elm.Print
Elm.Print.Common
Elm.Print.Decoder
Elm.Print.Encoder
Elm.Print.Types
other-modules: Internal.Prettyprinter.Compat
build-depends: aeson >= 1.3
, directory ^>= 1.3
, filepath >= 1.4 && < 1.6
, prettyprinter >= 1.2.1 && < 1.8
, text >= 1.2 && <= 3.0
, time
library types
import: common-options
hs-source-dirs: types
exposed-modules: Types
build-depends: aeson
, elm-street
, text
, time
executable generate-elm
import: common-options
hs-source-dirs: generate-elm
main-is: Main.hs
build-depends: elm-street
, types
, directory
, filepath
, text
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N
executable run-backend
import: common-options
hs-source-dirs: backend
main-is: Main.hs
other-modules: Api
build-depends: servant >= 0.14
, servant-server >= 0.14
, types
, wai ^>= 3.2
, warp < 3.5
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N
test-suite elm-street-test
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules: Test.Golden
build-depends: elm-street
, types
, aeson
, bytestring >= 0.10
, hspec >= 2.7.1
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N