forked from purescript/trypurescript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtrypurescript.cabal
More file actions
93 lines (89 loc) · 2.34 KB
/
Copy pathtrypurescript.cabal
File metadata and controls
93 lines (89 loc) · 2.34 KB
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
cabal-version: 2.4
name: trypurescript
version: 1.0.0
synopsis: Interactive PureScript in the Browser
description: A simple web app for trying out the PureScript compiler
category: Web
homepage: https://github.com/purescript/trypurescript
author: Phil Freeman
maintainer: paf31@cantab.net
copyright: (c) 2013-20 PureScript
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
common defaults
ghc-options:
-Weverything
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-unsafe
-Wno-safe
-Wno-trustworthy-safe
-Wno-inferred-safe-imports
-Wno-missing-safe-haskell-mode
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-missing-deriving-strategies
-Wno-missing-export-lists
-Wno-missing-kind-signatures
-Wno-partial-fields
-Wno-missing-role-annotations
-Wno-implicit-prelude
default-language: Haskell2010
default-extensions:
BangPatterns
ConstraintKinds
DataKinds
DefaultSignatures
DeriveFunctor
DeriveFoldable
DeriveTraversable
DeriveGeneric
DerivingStrategies
DerivingVia
EmptyDataDecls
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
ImportQualifiedPost
KindSignatures
LambdaCase
MultiParamTypeClasses
NamedFieldPuns
PatternGuards
PatternSynonyms
RankNTypes
RecordWildCards
OverloadedRecordDot
OverloadedStrings
ScopedTypeVariables
TupleSections
TypeFamilies
ViewPatterns
executable trypurescript
import: defaults
hs-source-dirs: server
main-is: Main.hs
ghc-options: -fno-warn-unused-do-bind -threaded -rtsopts -with-rtsopts=-N -Wno-unused-packages
build-depends:
aeson >=2.2.3.0 && <2.3,
base >=4.19.2.0 && <4.20,
bytestring >=0.12.1.0 && <0.13,
containers >=0.6.8 && <0.7,
data-default >=0.7.1.3 && <0.9,
Glob >=0.10.2 && <0.11,
mtl >=2.3.1 && <2.4,
purescript,
scotty >=0.22 && <0.23,
text >=2.1.1 && <2.2,
time >=1.12.2 && <1.13,
transformers >=0.6.1.0 && <0.7,
warp >=3.4.6 && <3.5
if flag(static)
ld-options: -static -pthread
flag static
description: Builds a statically-linked version of the Try PureScript server.
manual: True
default: False