git.iko.soy/typeable/haskell-stack-trace-plugin
on master help sign in
Merge pull request #5 from waddlaw/ghc-88

Allow GHC-8.8.1

commit0821038c57d8560929ebfd2e90571ad937b50827 authorShinya Yamaguchi <waddlaw@users.noreply.github.com> dateSat 18 Jan 2020, 19:46 (7 years ago) parent0f358f09d241c9
5 files changed+12−8
.github/workflows/cabal.yml+1−1 CHANGELOG.md+4 haskell-stack-trace-plugin.cabal+6−6 test/StackTrace/PluginSpec.hs+1−1 test/resource/ghc86.output → test/resource/ghc.output
.github/workflows/cabal.yml+1−1
@@ -17,7 +17,7 @@ jobs:
1717 runs-on: ubuntu-18.04
1818 strategy:
1919 matrix:
20− ghc: ["8.6.5"]
20+ ghc: ["8.6.5", "8.8.1"]
2121 cabal: ["3.0"]
2222
2323 steps:
CHANGELOG.md+4
@@ -1,5 +1,9 @@
11# Revision history for haskell-stack-trace-pugin
22
3+## Unreleased changes
4+
5+- Allow GHC-8.8.1
6+
37## 0.1.1.0 -- 2020-01-18
48
59- Ergonomic improvements [#1](https://github.com/waddlaw/haskell-stack-trace-plugin/pull/1) (@khwarizmii)
haskell-stack-trace-plugin.cabal+6−6
@@ -20,7 +20,7 @@ extra-source-files:
2020 CHANGELOG.md
2121 Readme.md
2222
23−tested-with: GHC ==8.6.5
23+tested-with: GHC ==8.6.5 || ==8.8.1
2424
2525source-repository head
2626 type: git
@@ -32,24 +32,24 @@ flag dev
3232 default: False
3333
3434common common-opts
35− build-depends: base ^>=4.12
35+ build-depends: base >=4.12 && <4.14
3636 default-language: Haskell2010
3737
3838library
3939 import: common-opts
4040 hs-source-dirs: src
41− build-depends: ghc ^>=8.6
41+ build-depends: ghc ^>=8.6 || ^>=8.8
4242 exposed-modules: StackTrace.Plugin
4343
4444 if flag(dev)
4545 ghc-options:
4646 -Wall -Werror -Wcompat -Wincomplete-uni-patterns
47− -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
47+ -Wnoncanonical-monad-instances
4848 -Wno-missing-home-modules
4949
5050 -- -Wincomplete-record-updates
5151 else
52− ghc-options: -O2 -Wall
52+ ghc-options: -Wall
5353
5454test-suite test
5555 import: common-opts
@@ -68,7 +68,7 @@ test-suite test
6868 ghc-options: -Wall -Werror
6969
7070 else
71− ghc-options: -O2 -Wall
71+ ghc-options: -Wall
7272
7373executable example
7474 import: common-opts
test/StackTrace/PluginSpec.hs+1−1
@@ -9,7 +9,7 @@ import System.Process.Typed
99spec :: Spec
1010spec = do
1111 output <- runIO exe
12− expected <- runIO $ BL.readFile "test/resource/ghc86.output"
12+ expected <- runIO $ BL.readFile "test/resource/ghc.output"
1313 it "integration test" $ output `shouldBe` expected
1414
1515
test/resource/ghc86.output → test/resource/ghc.outputrenamed

The content is the same.