-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathensemble.cabal
105 lines (99 loc) · 3.12 KB
/
ensemble.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
cabal-version: 3.0
name: ensemble
version: 0.1.0.0
license: MIT
license-file: LICENSE
author: Joe Betz
maintainer: joebetz91@gmail.com
category: Sound
build-type: Simple
extra-doc-files: CHANGELOG.md
common base
ghc-options: -Wall
default-language: Haskell2010
default-extensions: ConstraintKinds,
DataKinds,
DeriveGeneric,
FlexibleContexts,
GADTs,
LambdaCase,
StandaloneDeriving,
TypeApplications,
TypeOperators
common library-dependencies
build-depends: base,
aeson,
bytestring,
clap,
containers,
deepseq,
extra,
hashable,
mtl,
optparse-generic,
portaudio,
PortMidi,
stm,
template-haskell,
text,
th-abstraction
library
import: base
import: library-dependencies
exposed-modules: Ensemble,
Ensemble.API,
Ensemble.Config,
Ensemble.Engine,
Ensemble.Env,
Ensemble.Error,
Ensemble.Event,
Ensemble.Handler,
Ensemble.Node,
Ensemble.Schema,
Ensemble.Schema.TaggedJSON,
Ensemble.Schema.TH,
Ensemble.Sequencer,
Ensemble.Tick,
Ensemble.Util,
Ensemble.Window
if os(windows)
other-modules: Ensemble.Window.Windows
build-depends: Win32
cpp-options: -DWINDOWS
else
other-modules: Ensemble.Window.POSIX
build-depends: unix
hs-source-dirs: src
executable ensemble
import: base
main-is: Main.hs
build-depends: base,
aeson,
bytestring,
ensemble,
extra,
http-types,
optparse-generic,
text,
wai,
wai-websockets,
warp,
websockets
hs-source-dirs: app
ghc-options: -threaded
executable generate-schema
import: base
main-is: GenerateSchema.hs
build-depends: base,
ensemble
hs-source-dirs: app
test-suite ensemble-test
import: base
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends: base,
clap,
ensemble,
hspec,
mtl