git.iko.soy/typeable/validationt
on master help sign in
Merge pull request #12 from ilyakooo0/bump-version
c943f92Denis Redozubov
.travis.yml+14−27
@@ -4,48 +4,35 @@ language: haskell
4git:
4git:
5 depth: 5
5 depth: 5
6
6
7−cabal: "2.4"
8−
9cache:
7cache:
10 directories:
8 directories:
11 - "$HOME/.cabal/store"
9 - "$HOME/.cabal/store"
12 - "$HOME/.stack"
10 - "$HOME/.stack"
13 - "$TRAVIS_BUILD_DIR/.stack-work"
11 - "$TRAVIS_BUILD_DIR/.stack-work"
14
12
15−matrix:
13+jobs:
16 include:
14 include:
17−
18− # Cabal
19− - ghc: 8.4.4
20 - ghc: 8.6.5
15 - ghc: 8.6.5
21−
16+ env: SNAPSHOT="lts-14.22"
22− # Stack
17+ - ghc: 8.6.4
18+ env: SNAPSHOT="lts-13.19"
23− - ghc: 8.6.5
19+ - ghc: 8.6.3
24− env: STACK_YAML="$TRAVIS_BUILD_DIR/stack.yaml"
20+ env: SNAPSHOT="lts-13.11"
21+ - ghc: 8.4.4
22+ env: SNAPSHOT="lts-12.26"
25
23
26install:
24install:
27 - |
25 - |
28− if [ -z "$STACK_YAML" ]; then
29− ghc --version
30− cabal --version
31− cabal new-update
32− cabal new-build --enable-tests --enable-benchmarks
33− else
34− # install stack
26+ # install stack
35− curl -sSL https://get.haskellstack.org/ | sh
27+ curl -sSL https://get.haskellstack.org/ | sh
36
28
37− # build project with stack
29+ # build project with stack
38− stack --version
30+ stack --version
39− stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks
31+ stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks --resolver=$SNAPSHOT
40− fi
41
32
42script:
33script:
43 - |
34 - |
44− if [ -z "$STACK_YAML" ]; then
45− cabal new-test --enable-tests
46− else
47− stack test --system-ghc
35+ stack test --system-ghc
48− fi
49
36
50notifications:
37notifications:
51 email: false
38 email: false
ChangeLog.md+6
@@ -1,5 +1,11 @@
1# Revision history for validationt
1# Revision history for validationt
2
2
3+## 0.3.0
4+
5+* Added documentation.
6+* Fixed `textErrors` behaviour.
7+* Dropped `transformers-lift` dependency.
8+
3## 0.2.1.0
9## 0.2.1.0
4
10
5* GHC 8.4 support
11* GHC 8.4 support
test/Doc.hs+1−1
@@ -3,4 +3,4 @@ module Main (main) where
3import Test.DocTest
3import Test.DocTest
4
4
5main :: IO ()
5main :: IO ()
6−main = doctest [ "-XOverloadedStrings", "src" ]
6+main = doctest [ "-XOverloadedStrings", "-isrc", "src" ]
validationt.cabal+6−15
@@ -2,7 +2,7 @@
2-- documentation, see http://haskell.org/cabal/users-guide/
2-- documentation, see http://haskell.org/cabal/users-guide/
3
3
4name: validationt
4name: validationt
5−version: 0.2.1.0
5+version: 0.3.0
6synopsis: Straightforward validation monad.
6synopsis: Straightforward validation monad.
7description: Convenient solution for validating web forms and APIs.
7description: Convenient solution for validating web forms and APIs.
8homepage: https://github.com/typeable/validationt
8homepage: https://github.com/typeable/validationt
@@ -50,21 +50,12 @@ library
50 -Wmissing-export-lists
50 -Wmissing-export-lists
51
51
52test-suite doctest
52test-suite doctest
53+ default-language: Haskell2010
53 type: exitcode-stdio-1.0
54 type: exitcode-stdio-1.0
54 hs-source-dirs: test
55 hs-source-dirs: test
55 ghc-options: -Wall
56 ghc-options: -Wall
56 main-is: Doc.hs
57 main-is: Doc.hs
57− build-depends: base >=4.8 && < 5
58+ build-depends:
58− , aeson >= 1.0
59+ base >= 4.10.0.0
59− , doctest
60+ , doctest >= 0.11.4
60− , containers
61+ , validationt
61− , exceptions
62− , lens
63− , monad-control
64− , mtl
65− , QuickCheck
66− , text
67− , transformers
68− , transformers-base
69− , vector
70− , doctest