packages feed

haskell-dap 0.0.1.0 → 0.0.2.0

raw patch · 5 files changed

+17/−18 lines, 5 filesdep +ghc-pathsPVP ok

version bump matches the API change (PVP)

Dependencies added: ghc-paths

API changes (from Hackage documentation)

Files

Changelog.md view
@@ -1,4 +1,9 @@ +20180121 haskell-dap-0.0.2.0++  * [MODIFY] using GHC.Paths module to set libdir.++ 20180101 haskell-dap-0.0.1.0    * [INFO] Initial release.
README.md view
@@ -5,9 +5,8 @@  ## Information -* [2017/12/31] Release haskel-dap-0.0.1.0.  -* Release Summary-  * [INFO] Initial release.+* [2018/01/21] Release haskel-dap-0.0.2.0.  +  * [MODIFY] using GHC.Paths module to set libdir.   ## Limitation@@ -38,22 +37,12 @@  ## Configuration -Set ghciCmd variable in the launch.json.  -Add these options.-+ --with-ghc-+ --ghc-options -B-  --### windows--    "ghciCmd": "stack ghci --with-ghc=C:/Users/[USERNAME]/AppData/Roaming/Local/bin/haskell-dap --ghc-options -BC:/Users/[USERNAME]/AppData/Local/Programs/stack/x86_64-windows/ghc-[VERSION]/lib --test --no-load --no-build --main-is TARGET --ghci-options -fprint-evld-with-show ",+Add `--with-ghc` option to `ghciCmd` variable in the vscode launch.json.    -### linux+    "ghciCmd": "stack ghci --with-ghc=haskell-dap --test --no-load --no-build --main-is TARGET --ghci-options -fprint-evld-with-show ",  -    "ghciCmd": "stack ghci --with-ghc=/home/[USERNAME]/.local/bin/haskell-dap --ghc-options -B/home/[USERNAME]/.stack/programs/x86_64-linux/ghc-[VERSION]/lib/[VERSION] --test --no-load --no-build --main-is TARGET --ghci-options -fprint-evld-with-show",-     
app-ghc-8.0/GHCMain.hs view
@@ -73,6 +73,8 @@ import Data.List import Data.Maybe +import qualified GHC.Paths+ ----------------------------------------------------------------------------- -- ToDo: @@ -108,7 +110,7 @@     argv0 <- getArgs      let (minusB_args, argv1) = partition ("-B" `isPrefixOf`) argv0-        mbMinusB | null minusB_args = Nothing+        mbMinusB | null minusB_args = Just GHC.Paths.libdir                  | otherwise = Just (drop 2 (last minusB_args))      let argv1' = map (mkGeneralLocated "on the commandline") argv1
app-ghc-8.2/GHCMain.hs view
@@ -74,6 +74,8 @@ import Data.List import Data.Maybe +import qualified GHC.Paths+ ----------------------------------------------------------------------------- -- ToDo: @@ -109,7 +111,7 @@     argv0 <- getArgs      let (minusB_args, argv1) = partition ("-B" `isPrefixOf`) argv0-        mbMinusB | null minusB_args = Nothing+        mbMinusB | null minusB_args = Just GHC.Paths.libdir                  | otherwise = Just (drop 2 (last minusB_args))      let argv2 = map (mkGeneralLocated "on the commandline") argv1
haskell-dap.cabal view
@@ -1,5 +1,5 @@ name:                  haskell-dap-version:               0.0.1.0+version:               0.0.2.0 synopsis:              haskell-dap is a GHCi having DAP interface. description:           Please see README.md homepage:              https://github.com/phoityne/haskell-dap@@ -53,6 +53,7 @@   build-depends:       base                      , ghc                      , ghci+                     , ghc-paths                      , transformers                      , containers                      , time