haskell-tools-cli 0.6.0.0 → 0.7.0.0
raw patch · 3 files changed
+11/−10 lines, 3 filesdep ~aesondep ~haskell-tools-astdep ~haskell-tools-cliPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: aeson, haskell-tools-ast, haskell-tools-cli, haskell-tools-prettyprint, haskell-tools-refactor
API changes (from Hackage documentation)
Files
- Language/Haskell/Tools/Refactor/CLI.hs +1/−1
- haskell-tools-cli.cabal +8/−8
- test-stackage/Main.hs +2/−1
Language/Haskell/Tools/Refactor/CLI.hs view
@@ -9,7 +9,7 @@ import Control.Applicative ((<|>)) import Control.Exception (displayException) -import Control.Monad.State +import Control.Monad.State.Strict import Control.Reference import Data.List import Data.List.Split
haskell-tools-cli.cabal view
@@ -1,5 +1,5 @@ name: haskell-tools-cli -version: 0.6.0.0 +version: 0.7.0.0 synopsis: Command-line frontend for Haskell-tools Refact description: Command-line frontend for Haskell-tools Refact. Not meant as a final product, only for demonstration purposes. homepage: https://github.com/haskell-tools/haskell-tools @@ -49,9 +49,9 @@ , ghc-paths >= 0.1 && < 0.2 , references >= 0.3 && < 0.4 , strict >= 0.3 && < 0.4 - , haskell-tools-ast >= 0.6 && < 0.7 - , haskell-tools-prettyprint >= 0.6 && < 0.7 - , haskell-tools-refactor >= 0.6 && < 0.7 + , haskell-tools-ast >= 0.7 && < 0.8 + , haskell-tools-prettyprint >= 0.7 && < 0.8 + , haskell-tools-refactor >= 0.7 && < 0.8 exposed-modules: Language.Haskell.Tools.Refactor.CLI default-language: Haskell2010 @@ -59,7 +59,7 @@ executable ht-refact ghc-options: -rtsopts build-depends: base >= 4.9 && < 4.10 - , haskell-tools-cli >= 0.6 && < 0.7 + , haskell-tools-cli >= 0.7 && < 0.8 hs-source-dirs: exe main-is: Main.hs default-language: Haskell2010 @@ -84,7 +84,7 @@ , tasty-hunit >= 0.9 && < 0.10 , directory >= 1.2 && < 1.4 , filepath >= 1.4 && < 2.0 - , haskell-tools-cli >= 0.6 && < 0.7 + , haskell-tools-cli >= 0.7 && < 0.8 , knob >= 0.1 && < 0.2 , bytestring >= 0.10 && < 0.11 default-language: Haskell2010 @@ -93,10 +93,10 @@ type: exitcode-stdio-1.0 ghc-options: -with-rtsopts=-M2g build-depends: base >= 4.9 && < 4.10 - , haskell-tools-cli >= 0.6 && < 0.7 + , haskell-tools-cli >= 0.7 && < 0.8 , criterion >= 1.1 && < 1.2 , time >= 1.6 && < 1.7 - , aeson >= 1.0 && < 1.2 + , aeson >= 1.0 && < 1.3 , directory >= 1.2 && < 1.4 , filepath >= 1.4 && < 2.0 , knob >= 0.1 && < 0.2
test-stackage/Main.hs view
@@ -52,7 +52,8 @@ [ Left ("cabal get " ++ pack, GetFailure) , Right refreshDir , Left ("stack build --test --no-run-tests --bench --no-run-benchmarks > logs\\" ++ pack ++ "-build-log.txt 2>&1", BuildFailure) - , Left ("stack exec ht-refact --stack-yaml=..\\stack.yaml -- -one-shot -refactoring=ProjectOrganizeImports tested-package tested-package\\.stack-work\\dist\\" ++ snapshotId ++ "\\build\\autogen -package base +RTS -M6G -RTS > logs\\" ++ pack ++ "-refact-log.txt 2>&1", RefactError) + -- correct rts option handling (on windows) requires stack 1.4 + , Left ("stack exec ht-refact --stack-yaml=..\\stack.yaml --rts-options -M4G -- -one-shot -refactoring=ProjectOrganizeImports tested-package tested-package\\.stack-work\\dist\\" ++ snapshotId ++ "\\build\\autogen -package base > logs\\" ++ pack ++ "-refact-log.txt 2>&1", RefactError) , Left ("stack build > logs\\" ++ pack ++ "-reload-log.txt 2>&1", WrongCodeError) ] problem <- case res of