hackport 0.8.2.0 → 0.8.2.1
raw patch · 2 files changed
+18/−1 lines, 2 filessetup-changed
Files
- Setup.hs +17/−0
- hackport.cabal +1/−1
Setup.hs view
@@ -1,6 +1,23 @@+{-# LANGUAGE CPP #-}+ 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++import Distribution.Simple++main :: IO ()+main = defaultMain++#endif
hackport.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: hackport-version: 0.8.2.0+version: 0.8.2.1 license: GPL-3.0-or-later license-file: LICENSE author: Henning Günther, Duncan Coutts, Lennart Kolmodin