diff options
author | alexwl <alexey.a.kiryushin@gmail.com> | 2018-12-23 17:59:00 +0300 |
---|---|---|
committer | alexwl <alexey.a.kiryushin@gmail.com> | 2018-12-23 17:59:00 +0300 |
commit | e6d0b7bf0954f941357d77e8158aa52bb1c96686 (patch) | |
tree | bb32dfaac36af2c009bbf2158f6ac5e9745f8fe6 /test | |
parent | 27024fa57469af22d5b39309042f203c7b2efc5e (diff) |
Add support for GHC 8.6.3
Diffstat (limited to 'test')
-rw-r--r-- | test/Main.hs | 4 | ||||
-rw-r--r-- | test/test-package/stack-8.4.4.yaml | 1 | ||||
-rw-r--r-- | test/test-package/stack.yaml | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/test/Main.hs b/test/Main.hs index 542829e..3ed32a4 100644 --- a/test/Main.hs +++ b/test/Main.hs @@ -155,8 +155,10 @@ moduleInfoSpec modInfo = HCE.idOccMap (modInfo :: HCE.ModuleInfo) `shouldBe` testIdOccMap stackYamlArg :: [String] -#if MIN_VERSION_GLASGOW_HASKELL(8,4,4,0) +#if MIN_VERSION_GLASGOW_HASKELL(8,6,1,0) stackYamlArg = [] +#elif MIN_VERSION_GLASGOW_HASKELL(8,4,4,0) +stackYamlArg = ["--stack-yaml=stack-8.4.4.yaml"] #elif MIN_VERSION_GLASGOW_HASKELL(8,4,3,0) stackYamlArg = ["--stack-yaml=stack-8.4.3.yaml" ] #elif MIN_VERSION_GLASGOW_HASKELL(8,2,2,0) diff --git a/test/test-package/stack-8.4.4.yaml b/test/test-package/stack-8.4.4.yaml new file mode 100644 index 0000000..92d07c7 --- /dev/null +++ b/test/test-package/stack-8.4.4.yaml @@ -0,0 +1 @@ +resolver: lts-12.16 diff --git a/test/test-package/stack.yaml b/test/test-package/stack.yaml index 92d07c7..4e996a7 100644 --- a/test/test-package/stack.yaml +++ b/test/test-package/stack.yaml @@ -1 +1 @@ -resolver: lts-12.16 +resolver: nightly-2018-12-21 |