tree-diff 0 → 0.0.0.1
raw patch · 4 files changed
+9/−65 lines, 4 filesdep −doctestdep −template-haskelldep ~QuickCheckdep ~ansi-terminaldep ~basesetup-changed
Dependencies removed: doctest, template-haskell
Dependency ranges changed: QuickCheck, ansi-terminal, base, tasty
Files
- ChangeLog.md +5/−1
- Setup.hs +0/−31
- tests/doctests.hs +0/−12
- tree-diff.cabal +4/−21
ChangeLog.md view
@@ -1,5 +1,9 @@ # Revision history for tree-diff +## 0.0.0.1++- Move to `build-type: Simple`+ ## 0 -* First version. Released on an unsuspecting world.+- First version. Released on an unsuspecting world.
Setup.hs view
@@ -1,33 +1,2 @@-{-# LANGUAGE CPP #-}-{-# OPTIONS_GHC -Wall #-}-module Main (main) where--#ifndef MIN_VERSION_cabal_doctest-#define MIN_VERSION_cabal_doctest(x,y,z) 0-#endif--#if MIN_VERSION_cabal_doctest(1,0,0)--import Distribution.Extra.Doctest ( defaultMainWithDoctests )-main :: IO ()-main = defaultMainWithDoctests "doctests"--#else--#ifdef MIN_VERSION_Cabal--- If the macro is defined, we have new cabal-install,--- but for some reason we don't have cabal-doctest in package-db------ Probably we are running cabal sdist, when otherwise using new-build--- workflow-#warning You are configuring this package without cabal-doctest installed. \- The doctests test-suite will not work as a result. \- To fix this, install cabal-doctest before configuring.-#endif- import Distribution.Simple--main :: IO () main = defaultMain--#endif
− tests/doctests.hs
@@ -1,12 +0,0 @@-module Main where--import Build_doctests (flags, pkgs, module_sources)-import Data.Foldable (traverse_)-import Test.DocTest--main :: IO ()-main = do- traverse_ putStrLn args- doctest args- where- args = flags ++ pkgs ++ module_sources
tree-diff.cabal view
@@ -1,5 +1,5 @@ name: tree-diff-version: 0+version: 0.0.0.1 synopsis: Diffing of (expression) trees. description: Common diff algorithm works on list structures:@@ -36,7 +36,7 @@ maintainer: Oleg.Grenrus <oleg.grenrus@iki.fi> copyright: (c) 2017 Oleg Grenrus category: Data-build-type: Custom+build-type: Simple extra-source-files: README.md ChangeLog.md cabal-version: >=1.10 tested-with:@@ -47,10 +47,6 @@ extra-source-files: fixtures/exfoo.expr -custom-setup- setup-depends:- base, Cabal, cabal-doctest >=1.0.2 && <1.1- source-repository head type: git location: https://github.com/phadej/tree-diff.git@@ -70,7 +66,7 @@ base >=4.7 && <4.11, aeson >=1.2.1.0 && <1.3, ansi-wl-pprint >=0.6.8.1 && <0.7,- ansi-terminal >=0.6.3.1 && <0.7,+ ansi-terminal >=0.6.3.1 && <0.8, base-compat >=0.9.3 && <0.10, bytestring >=0.10.4.0 && <0.11, containers >=0.5.5.1 && <0.6,@@ -110,19 +106,6 @@ hs-source-dirs: src default-language: Haskell2010 -test-suite doctests- type: exitcode-stdio-1.0- main-is: doctests.hs- x-doctest-options: -D__DOCTEST__- build-depends:- base,- doctest >=0.13.0 && <0.14,- template-haskell,- QuickCheck- ghc-options: -Wall -threaded- hs-source-dirs: tests- default-language: Haskell2010- test-suite test default-language: Haskell2010 type: exitcode-stdio-1.0@@ -137,6 +120,6 @@ ansi-wl-pprint, parsec, trifecta >=1.7.1.1 && <1.8,- tasty >=0.11.2.5 && <0.12,+ tasty >=0.11.2.5 && <0.13, tasty-golden >=2.3.1.1 && <2.4, tasty-quickcheck >=0.9.1 && <0.10