packages feed

data-validation 0.1.2.0 → 0.1.2.2

raw patch · 2 files changed

+19/−10 lines, 2 files

Files

CHANGELOG.md view
@@ -1,5 +1,13 @@ # Revision history for data-validation
 
+## 0.1.2.2 -- 2020-12-16 
+
+* Minor fix to cabal file.
+
+## 0.1.2.1 -- 2020-12-15
+
+* Removed example from ghcjs build.
+
 ## 0.1.2.0 -- 2020-11-10
 
 * Minor changes to haddocks.
data-validation.cabal view
@@ -1,6 +1,6 @@ cabal-version:       2.4
 name:                data-validation
-version:             0.1.2.0
+version:             0.1.2.2
 synopsis:            A library for creating type safe validations.
 description:
   A library for creating type safe validations using typeclasses.
@@ -16,7 +16,7 @@ source-repository head
   type: git
   location: https://github.com/alasconnect/data-validation
-  tag: 0.1.2.0
+  tag: 0.1.2.2
 
 library
   exposed-modules:    Data.Validation
@@ -30,14 +30,15 @@   ghc-options:       -Wall -v0
 
 library examples
-  exposed-modules:    Examples.Data.ComplexTypes
-                    , Examples.Data.Primitives
-  build-depends:      base >= 4.11.0.1 && < 5
-                    , data-validation
-                    , regex-tdfa
-  hs-source-dirs:     examples
-  default-language:   Haskell2010
-  ghc-options:       -Wall -v0
+  if !(impl(ghcjs))
+    exposed-modules:    Examples.Data.ComplexTypes
+                      , Examples.Data.Primitives
+    build-depends:      base >= 4.11.0.1 && < 5
+                      , data-validation
+                      , regex-tdfa
+    hs-source-dirs:     examples
+    default-language:   Haskell2010
+    ghc-options:       -Wall -v0
 
 test-suite test-data-validation
   type:             exitcode-stdio-1.0