wasm-ifc/miniwasm.cabal
Stephan Stanisic 78b8e9ab07 Initial Commit
2024-10-24 17:45:05 +02:00

57 lines
936 B
Plaintext

cabal-version: 3.0
name: miniwasm
version: 0.0.0.0
build-type: Simple
common common-options
default-language: GHC2021
default-extensions:
DuplicateRecordFields
NamedFieldPuns
OverloadedRecordDot
RecordWildCards
ghc-options:
-Wall
-Wno-name-shadowing
-Wno-partial-fields
-Wno-unused-imports
-Wno-unused-matches
build-depends:
base >=4.16 && <5,
lio
library
import: common-options
hs-source-dirs: src
exposed-modules:
MiniWasm.Syntax
MiniWasm.Validation
MiniWasm.Execution
MiniWasm.TestCases.SmallStep
MiniWasm.TestCases.Programs
test-suite miniwasm-test
import: common-options
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends:
miniwasm
, tasty ^>= 1.4.3
, tasty-hunit ^>= 0.10.0.3
executable miniwasm
import: common-options
hs-source-dirs: app
main-is: Main.hs
build-depends:
miniwasm