tests
This commit is contained in:
+30
-4
@@ -20,7 +20,7 @@ common ghcstuffs-dev
|
||||
common ghcstuffs
|
||||
ghc-options:
|
||||
-Wall -fdefer-type-errors -fno-show-valid-hole-fits
|
||||
-fdefer-out-of-scope-variables -fplugin=Effectful.Plugin -threaded
|
||||
-fdefer-out-of-scope-variables -threaded
|
||||
|
||||
default-extensions:
|
||||
BlockArguments
|
||||
@@ -35,8 +35,19 @@ executable gyehoek
|
||||
import: ghcstuffs, ghcstuffs-dev
|
||||
main-is: Main.hs
|
||||
|
||||
-- cabal-fmt: expand app -Main
|
||||
other-modules:
|
||||
build-depends:
|
||||
, base ^>=4.21.2.0
|
||||
, gyehoek
|
||||
|
||||
hs-source-dirs: app
|
||||
default-language: GHC2024
|
||||
|
||||
library
|
||||
import: ghcstuffs, ghcstuffs-dev
|
||||
ghc-options: -fplugin=Effectful.Plugin
|
||||
|
||||
-- cabal-fmt: expand src
|
||||
exposed-modules:
|
||||
Gyehoek.CPS.Convert
|
||||
Gyehoek.CPS.Lower
|
||||
Gyehoek.CPS.Syntax
|
||||
@@ -45,6 +56,7 @@ executable gyehoek
|
||||
Gyehoek.Scheme.Syntax
|
||||
Gyehoek.Sexp
|
||||
Gyehoek.Wasm
|
||||
Gyehoek.Driver
|
||||
|
||||
build-depends:
|
||||
, base ^>=4.21.2.0
|
||||
@@ -72,6 +84,20 @@ executable gyehoek
|
||||
, unordered-containers
|
||||
, vector
|
||||
, string-interpolate
|
||||
, pretty-simple
|
||||
|
||||
hs-source-dirs: app
|
||||
hs-source-dirs: src
|
||||
default-language: GHC2024
|
||||
|
||||
test-suite test
|
||||
import: ghcstuffs, ghcstuffs-dev
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: test
|
||||
main-is: Main.hs
|
||||
build-depends: base
|
||||
, gyehoek
|
||||
, filepath
|
||||
, tasty
|
||||
, tasty-silver
|
||||
, directory
|
||||
default-language: GHC2024
|
||||
|
||||
Reference in New Issue
Block a user