-
Notifications
You must be signed in to change notification settings - Fork 81
/
ormolu-live.cabal
66 lines (59 loc) · 1.12 KB
/
ormolu-live.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
cabal-version: 3.0
name: ormolu-live
version: 0.0.0.0
maintainer: Alexander Esgen <[email protected]>
author: Alexander Esgen <[email protected]>
extra-source-files: .commitrev
common common
default-language: GHC2021
ghc-options:
-Wall
-Wunused-packages
-Wredundant-constraints
-Wno-name-shadowing
library
import: common
hs-source-dirs: src
exposed-modules:
Ormolu.Live
Ormolu.Live.AceEditor
Ormolu.Live.CommitRev
Ormolu.Live.JSUtil
build-depends:
Cabal-syntax,
base,
containers,
file-embed,
generic-lens,
ghc-lib-parser,
jsaddle,
lens,
lucid,
miso,
ormolu,
text,
transformers,
unliftio,
executable ormolu-live
import: common
main-is: Worker.hs
hs-source-dirs: app
ghc-options:
-no-hs-main
-optl-mexec-model=reactor
"-optl-Wl,--export=hs_runWorker"
build-depends:
base,
jsaddle-wasm,
ormolu-live,
if !arch(wasm32)
buildable: False
executable pregen
import: common
main-is: Pregen.hs
hs-source-dirs: app
build-depends:
base,
bytestring,
jsaddle-wasm:js,
ormolu-live,