mirror of
https://github.com/byteverse/colonnade.git
synced 2026-01-11 23:08:30 +01:00
bump text dep upper bounds; remove extraneous doctest junk
This commit is contained in:
parent
ce3ab2cbdd
commit
7f664c7dfe
11
README.md
Normal file
11
README.md
Normal 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.
|
||||||
@ -30,20 +30,9 @@ library
|
|||||||
, blaze-markup >= 0.7 && < 0.9
|
, blaze-markup >= 0.7 && < 0.9
|
||||||
, blaze-html >= 0.8 && < 0.10
|
, blaze-html >= 0.8 && < 0.10
|
||||||
, profunctors >= 5.0 && < 5.7
|
, profunctors >= 5.0 && < 5.7
|
||||||
, text >= 1.2 && < 1.3
|
, text >= 1.2 && < 2.1
|
||||||
default-language: Haskell2010
|
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
|
source-repository head
|
||||||
type: git
|
type: git
|
||||||
location: https://github.com/andrewthad/colonnade
|
location: https://github.com/andrewthad/colonnade
|
||||||
|
|||||||
@ -1,6 +0,0 @@
|
|||||||
import Test.DocTest
|
|
||||||
|
|
||||||
main :: IO ()
|
|
||||||
main = doctest
|
|
||||||
[ "src/Text/Blaze/Colonnade.hs"
|
|
||||||
]
|
|
||||||
@ -38,27 +38,13 @@ library
|
|||||||
base >= 4.12 && < 5
|
base >= 4.12 && < 5
|
||||||
, contravariant >= 1.2 && < 1.6
|
, contravariant >= 1.2 && < 1.6
|
||||||
, vector >= 0.10 && < 0.13
|
, vector >= 0.10 && < 0.13
|
||||||
, text >= 1.0 && < 1.3
|
, text >= 1.0 && < 2.1
|
||||||
, bytestring >= 0.10 && < 0.12
|
, bytestring >= 0.10 && < 0.12
|
||||||
, profunctors >= 5.0 && < 5.7
|
, profunctors >= 5.0 && < 5.7
|
||||||
, semigroups >= 0.18.2 && < 0.20
|
, semigroups >= 0.18.2 && < 0.20
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
ghc-options: -Wall
|
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
|
source-repository head
|
||||||
type: git
|
type: git
|
||||||
location: https://github.com/andrewthad/colonnade
|
location: https://github.com/andrewthad/colonnade
|
||||||
|
|||||||
@ -1,6 +0,0 @@
|
|||||||
import Test.DocTest
|
|
||||||
|
|
||||||
main :: IO ()
|
|
||||||
main = doctest
|
|
||||||
[ "src"
|
|
||||||
]
|
|
||||||
@ -20,7 +20,7 @@ library
|
|||||||
base >= 4.8 && < 5
|
base >= 4.8 && < 5
|
||||||
, colonnade >= 1.1.1 && < 1.3
|
, colonnade >= 1.1.1 && < 1.3
|
||||||
, lucid >= 2.9 && < 3.0
|
, lucid >= 2.9 && < 3.0
|
||||||
, text >= 1.2 && < 1.3
|
, text >= 1.2 && < 2.1
|
||||||
, vector >= 0.10 && < 0.13
|
, vector >= 0.10 && < 0.13
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,7 @@ library
|
|||||||
build-depends:
|
build-depends:
|
||||||
base >= 4.8 && < 5
|
base >= 4.8 && < 5
|
||||||
, colonnade >= 1.2 && < 1.3
|
, colonnade >= 1.2 && < 1.3
|
||||||
, text >= 1.0 && < 1.3
|
, text >= 1.0 && < 2.1
|
||||||
, bytestring
|
, bytestring
|
||||||
, vector
|
, vector
|
||||||
, streaming >= 0.1.4 && < 0.3
|
, streaming >= 0.1.4 && < 0.3
|
||||||
@ -30,16 +30,6 @@ library
|
|||||||
, semigroups >= 0.18.2 && < 0.20
|
, semigroups >= 0.18.2 && < 0.20
|
||||||
default-language: Haskell2010
|
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
|
test-suite test
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
hs-source-dirs: test
|
hs-source-dirs: test
|
||||||
|
|||||||
@ -1,8 +0,0 @@
|
|||||||
import Test.DocTest
|
|
||||||
|
|
||||||
main :: IO ()
|
|
||||||
main = doctest
|
|
||||||
[ "-isrc"
|
|
||||||
, "src/Siphon.hs"
|
|
||||||
]
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user