continue takes var
This commit is contained in:
+13
-11
@@ -14,9 +14,9 @@ build-type: Simple
|
||||
-- extra-source-files:
|
||||
|
||||
flag doctest
|
||||
description: enable the doctest suite
|
||||
default: True
|
||||
manual: True
|
||||
description: enable the doctest suite
|
||||
default: True
|
||||
manual: True
|
||||
|
||||
common ghcstuffs-dev
|
||||
ghc-options:
|
||||
@@ -60,7 +60,6 @@ library
|
||||
Gyehoek.CPS.Close
|
||||
Gyehoek.CPS.Convert
|
||||
Gyehoek.CPS.Eval
|
||||
Gyehoek.CPS.Lower
|
||||
Gyehoek.CPS.Stackify
|
||||
Gyehoek.CPS.Syntax
|
||||
Gyehoek.Driver
|
||||
@@ -77,6 +76,7 @@ library
|
||||
Gyehoek.Sexp.QQ
|
||||
Gyehoek.Sexp.Read
|
||||
Gyehoek.Sexp.Syntax
|
||||
Gyehoek.Stack.Lower
|
||||
Gyehoek.Stack.Syntax
|
||||
Gyehoek.Stack.VM
|
||||
Gyehoek.Wasm
|
||||
@@ -162,13 +162,15 @@ test-suite test
|
||||
|
||||
-- https://github.com/martijnbastiaan/doctest-parallel/pull/66
|
||||
test-suite doctest
|
||||
import: ghcstuffs, ghcstuffs-dev
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: test
|
||||
build-depends: base
|
||||
import: ghcstuffs, ghcstuffs-dev
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: test
|
||||
build-depends: base
|
||||
default-extensions: CPP
|
||||
main-is: doctest.hs
|
||||
main-is: doctest.hs
|
||||
|
||||
if flag(doctest)
|
||||
build-depends: doctest-parallel >=0.1
|
||||
build-depends: doctest-parallel >=0.1
|
||||
|
||||
else
|
||||
cpp-options: "-DGYEHOEK_NO_DOCTEST"
|
||||
cpp-options: -DGYEHOEK_NO_DOCTEST
|
||||
|
||||
Reference in New Issue
Block a user