]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - spline3.cabal
Switch to Tasty for testing.
[spline3.git] / spline3.cabal
index 4646863936e17542cde550badaa5c3d77ec02356..4154e89a741066615b05110f893daacb949791ea 100644 (file)
@@ -28,20 +28,19 @@ flag LLVM
 
 executable spline3
   build-depends:
-    base                        == 4.6.*,
-    cmdargs                     == 0.10.*,
-    filepath                    == 1.*,
-    MissingH                    == 1.2.*,
-    repa                        == 3.2.*,
-    repa-algorithms             == 3.2.*,
-    repa-io                     == 3.2.*,
-    vector                      == 0.10.*,
+    base                        < 5,
+    cmdargs                     >= 0.10,
+    filepath                    >= 1,
+    MissingH                    >= 1,
+    repa                        >= 3.3,
+    repa-algorithms             >= 3.3,
+    repa-io                     >= 3.3,
+    vector                      >= 0.10,
     -- Additional test dependencies.
-    HUnit                       == 1.2.*,
-    QuickCheck                  == 2.*,
-    test-framework              == 0.6.*,
-    test-framework-hunit        == 0.2.*,
-    test-framework-quickcheck2  == 0.2.*
+    tasty                       >= 0.8,
+    tasty-hunit                 >= 0.8,
+    tasty-quickcheck            >= 0.8.1
+
 
   main-is:
     Main.hs
@@ -92,9 +91,9 @@ test-suite doctests
   hs-source-dirs: test
   main-is: Doctests.hs
   build-depends:
-    base                        == 4.5.*,
+    base                        < 5,
     -- Additional test dependencies.
-    doctest                     == 0.7.*
+    doctest                     >= 0.9
 
   -- It's not entirely clear to me why I have to reproduce all of this.
   ghc-options:
@@ -121,20 +120,18 @@ test-suite testsuite
   hs-source-dirs: src test
   main-is: TestSuite.hs
   build-depends:
-    base                        == 4.5.*,
-    cmdargs                     == 0.10.*,
-    filepath                    == 1.*,
-    MissingH                    == 1.1.*,
-    repa                        == 3.2.*,
-    repa-algorithms             == 3.2.*,
-    repa-io                     == 3.2.*,
-    vector                      == 0.9.*,
+    base                        < 5,
+    cmdargs                     >= 0.10,
+    filepath                    >= 1,
+    MissingH                    >= 1,
+    repa                        >= 3.3,
+    repa-algorithms             >= 3.3,
+    repa-io                     >= 3.3,
+    vector                      >= 0.10,
     -- Additional test dependencies.
-    HUnit                       == 1.2.*,
-    QuickCheck                  == 2.*,
-    test-framework              == 0.6.*,
-    test-framework-hunit        == 0.2.*,
-    test-framework-quickcheck2  == 0.2.*
+    tasty                       >= 0.8,
+    tasty-hunit                 >= 0.8,
+    tasty-quickcheck            >= 0.8.1
 
   -- It's not entirely clear to me why I have to reproduce all of this.
   ghc-options: