stackage-cli 0.0.0.1 → 0.0.0.2
raw patch · 3 files changed
+18/−1 lines, 3 filesnew-uploader
Files
- ChangeLog.md +4/−0
- main/Purge.hs +7/−0
- stackage-cli.cabal +7/−1
ChangeLog.md view
@@ -1,3 +1,7 @@+## 0.0.0.2++* Works with older versions of parsec [#28](https://github.com/fpco/stackage-cli/issues/28)+ ## 0.0.0.1 * Compilation fix for GHC 7.10 [#29](https://github.com/fpco/stackage-cli/issues/29)
main/Purge.hs view
@@ -1,6 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE TemplateHaskell #-}+{-# LANGUAGE CPP #-} module Main where @@ -96,6 +97,12 @@ parsePackages = either (throwM . ParsePackagesError) return . parse packagesParser ""++-- #28+#if !MIN_VERSION_parsec(3,1,6)+endOfLine :: ParsecParser Char+endOfLine = newline <|> crlf <?> "new-line"+#endif ending :: ParsecParser () ending = eof <|> void endOfLine
stackage-cli.cabal view
@@ -1,14 +1,20 @@ name: stackage-cli-version: 0.0.0.1+version: 0.0.0.2 synopsis: A CLI library for stackage commands description: A CLI library for stackage commands+homepage:+ https://www.stackage.org/package/stackage-cli+bug-reports:+ https://github.com/fpco/stackage-cli/issues+ license: MIT license-file: LICENSE author: Dan Burton maintainer: danburton@fpcomplete.com copyright: 2015 FP Complete Corporation+ build-type: Simple cabal-version: >=1.10 category: Development