bump text dep upper bounds; remove extraneous doctest junk

This commit is contained in:
Eric Demko 2022-10-05 12:10:49 -04:00 committed by Andrew Martin
parent ce3ab2cbdd
commit 7f664c7dfe
8 changed files with 15 additions and 59 deletions

11
README.md Normal file
View File

@ -0,0 +1,11 @@
Most of the tests use doctest, which isn't run like a normal test suite (I guess).
To run these tests, first make sure `doctest` is on the `PATH` (i.e. `cabal install doctest`), then run the following commands:
```
cabal repl --build-depends=QuickCheck --with-ghc=doctest --repl-options="-fno-warn-orphans" siphon
cabal repl --build-depends=QuickCheck --with-ghc=doctest --repl-options="-fno-warn-orphans" colonnade
cabal repl --build-depends=QuickCheck --with-ghc=doctest --repl-options="-fno-warn-orphans" blaze-colonnade
```
There are no tests for lucid-colonnade at present.

View File

@ -30,20 +30,9 @@ library
, blaze-markup >= 0.7 && < 0.9
, blaze-html >= 0.8 && < 0.10
, profunctors >= 5.0 && < 5.7
, text >= 1.2 && < 1.3
, text >= 1.2 && < 2.1
default-language: Haskell2010
test-suite test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends:
base >= 4.7 && <= 5
, colonnade
, doctest
, profunctors
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/andrewthad/colonnade

View File

@ -1,6 +0,0 @@
import Test.DocTest
main :: IO ()
main = doctest
[ "src/Text/Blaze/Colonnade.hs"
]

View File

@ -38,27 +38,13 @@ library
base >= 4.12 && < 5
, contravariant >= 1.2 && < 1.6
, vector >= 0.10 && < 0.13
, text >= 1.0 && < 1.3
, text >= 1.0 && < 2.1
, bytestring >= 0.10 && < 0.12
, profunctors >= 5.0 && < 5.7
, semigroups >= 0.18.2 && < 0.20
default-language: Haskell2010
ghc-options: -Wall
test-suite test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends:
base >= 4.7 && <= 5
, colonnade
, doctest
, semigroupoids
, ansi-wl-pprint
, QuickCheck
, fast-logger
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/andrewthad/colonnade

View File

@ -1,6 +0,0 @@
import Test.DocTest
main :: IO ()
main = doctest
[ "src"
]

View File

@ -20,7 +20,7 @@ library
base >= 4.8 && < 5
, colonnade >= 1.1.1 && < 1.3
, lucid >= 2.9 && < 3.0
, text >= 1.2 && < 1.3
, text >= 1.2 && < 2.1
, vector >= 0.10 && < 0.13
default-language: Haskell2010

View File

@ -21,7 +21,7 @@ library
build-depends:
base >= 4.8 && < 5
, colonnade >= 1.2 && < 1.3
, text >= 1.0 && < 1.3
, text >= 1.0 && < 2.1
, bytestring
, vector
, streaming >= 0.1.4 && < 0.3
@ -30,16 +30,6 @@ library
, semigroups >= 0.18.2 && < 0.20
default-language: Haskell2010
test-suite doctest
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Doctest.hs
build-depends:
base
, siphon
, doctest >= 0.10
default-language: Haskell2010
test-suite test
type: exitcode-stdio-1.0
hs-source-dirs: test

View File

@ -1,8 +0,0 @@
import Test.DocTest
main :: IO ()
main = doctest
[ "-isrc"
, "src/Siphon.hs"
]