-
Notifications
You must be signed in to change notification settings - Fork 0
/
wasm-hs.cabal
89 lines (75 loc) · 1.57 KB
/
wasm-hs.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
cabal-version: 3.8
name: wasm-hs
version: 0.0.0.0
license: GPL-3.0-only
license-file: LICENSE.txt
copyright: Copyright (C) 2023-2024 Alex Ionescu
build-type: Simple
extra-doc-files:
README.md
common ghc-flags
default-language: GHC2021
default-extensions:
AllowAmbiguousTypes
BlockArguments
DataKinds
DuplicateRecordFields
FunctionalDependencies
GADTs
ImpredicativeTypes
LambdaCase
NoFieldSelectors
OverloadedLabels
OverloadedRecordDot
QuantifiedConstraints
RebindableSyntax
TypeAbstractions
TypeFamilies
UndecidableInstances
UnliftedDatatypes
ghc-options:
-Wall
-Wcompat
-Widentities
-Wmissing-deriving-strategies
-Wno-name-shadowing
-Wno-unused-do-bind
-Wpartial-fields
-Wprepositive-qualified-module
-Wredundant-constraints
-Wunused-packages
library
import: ghc-flags
hs-source-dirs: src
exposed-modules:
Data.HList
Language.Wasm.Examples
Language.Wasm.Instr
Language.Wasm.Module
Language.Wasm.Prelude
Language.Wasm.Syntax
build-depends:
base >=4.19 && <5
, vector ^>= 0.13
executable wasm-hs
import: ghc-flags
default-extensions:
OverloadedLists
hs-source-dirs: app
main-is: Main.hs
build-depends:
base >=4.19 && <5
, wasm-hs
test-suite wasm-hs-test
import: ghc-flags
default-extensions:
OverloadedLists
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends:
base >=4.19 && <5
, silently ^>= 1.2.5
, tasty ^>= 1.4.3
, tasty-hunit ^>= 0.10.0.3
, wasm-hs