From 07b10b3370e294dfb3043c3e9e2c5cfc2aa82a7d Mon Sep 17 00:00:00 2001 From: Toshio Ito Date: Thu, 2 Jan 2020 21:58:09 +0900 Subject: [PATCH 1/4] stack.yaml: try a new resolver. --- stack.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/stack.yaml b/stack.yaml index 2769ccc..df95778 100644 --- a/stack.yaml +++ b/stack.yaml @@ -15,7 +15,8 @@ # resolver: # name: custom-snapshot # location: "./custom-snapshot.yaml" -resolver: lts-8.9 +## resolver: lts-8.9 +resolver: lts-12.26 # User packages to be built. # Various formats can be used as shown in the example below. @@ -39,7 +40,8 @@ packages: - '.' # Dependency packages to be pulled from upstream that are not in the resolver # (e.g., acme-missiles-0.3) -extra-deps: [] +extra-deps: +- template-0.2.0.10 # Override default flag values for local packages and extra-deps flags: {} From b919cb37e5481711d0732e02d292f8bf2db102a5 Mon Sep 17 00:00:00 2001 From: Toshio Ito Date: Thu, 2 Jan 2020 22:12:24 +0900 Subject: [PATCH 2/4] .cabal: remove Spec from doctests test-suite. because it emits error because the file name "Spec" does not match "Main" module it contains. --- hi.cabal | 1 - 1 file changed, 1 deletion(-) diff --git a/hi.cabal b/hi.cabal index 2443666..57ed709 100644 --- a/hi.cabal +++ b/hi.cabal @@ -149,7 +149,6 @@ test-suite doctests FeatureSpec Hi.GitSpec HiSpec - Spec SpecHelper Paths_hi default-language: Haskell2010 From 41a06494d1b13ca44c6268f38dba2baeea1f878c Mon Sep 17 00:00:00 2001 From: Toshio Ito Date: Thu, 2 Jan 2020 22:16:44 +0900 Subject: [PATCH 3/4] .cabal: fix test-suite doctests - temporary package is necessary - *Spec modules are not necessary. They emit build error because hspec is not loaded. --- hi.cabal | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hi.cabal b/hi.cabal index 57ed709..8311a7d 100644 --- a/hi.cabal +++ b/hi.cabal @@ -132,6 +132,7 @@ test-suite doctests process, split, template ==0.2.*, + temporary >=1.2.0.3, text >1.0, time other-modules: @@ -146,10 +147,6 @@ test-suite doctests Hi.Template Hi.Types Main - FeatureSpec - Hi.GitSpec - HiSpec - SpecHelper Paths_hi default-language: Haskell2010 type: exitcode-stdio-1.0 From ad848ae630a507c4200295fa6d0a66d15af76bb0 Mon Sep 17 00:00:00 2001 From: Toshio Ito Date: Thu, 2 Jan 2020 22:22:06 +0900 Subject: [PATCH 4/4] stack.yaml: try lts-14.7 --- stack.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stack.yaml b/stack.yaml index df95778..96b27ec 100644 --- a/stack.yaml +++ b/stack.yaml @@ -16,7 +16,8 @@ # name: custom-snapshot # location: "./custom-snapshot.yaml" ## resolver: lts-8.9 -resolver: lts-12.26 +## resolver: lts-12.26 +resolver: lts-14.7 # User packages to be built. # Various formats can be used as shown in the example below.