Skip to content

Commit

Permalink
Bump to LTS 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
borsboom committed Jan 6, 2016
1 parent df40565 commit c4dc4c7
Show file tree
Hide file tree
Showing 18 changed files with 19 additions and 20 deletions.
2 changes: 1 addition & 1 deletion etc/scripts/release.hs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ rules global@Global{..} args = do
["--local-bin-path=" ++ tmpDir]
() <- cmd0 $ concat $ concat
[["install --pedantic --no-haddock-deps"], [" --haddock" | gTestHaddocks]]
() <- cmd0 "install --resolver=lts-3.0 cabal-install"
() <- cmd0 "install --resolver=lts-4.0 cabal-install"
let cmd' = cmd (AddPath [tmpDir] []) stackProgName (stackArgs global)
() <- cmd' "test --pedantic --flag stack:integration-tests"
return ()
Expand Down
2 changes: 1 addition & 1 deletion etc/scripts/stack.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
resolver: lts-3.16
resolver: lts-4.0
4 changes: 2 additions & 2 deletions stack.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ library
, monad-loops >= 0.4.2.1
, mtl >= 2.1.3.1
, old-locale >= 1.0.0.6
, optparse-applicative < 0.13
, optparse-applicative >= 0.11 && < 0.13
, path >= 0.5.1
, persistent >= 2.1.2
, persistent-sqlite >= 2.1.4
Expand Down Expand Up @@ -289,7 +289,7 @@ test-suite stack-test
, resourcet
, Cabal
, text
, optparse-applicative < 0.13
, optparse-applicative >= 0.11 && < 0.13
, bytestring
, QuickCheck
, retry >= 0.6 && < 0.8
Expand Down
3 changes: 1 addition & 2 deletions stack.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
resolver: lts-3.19
resolver: lts-4.0
image:
containers:
- base: "fpco/ubuntu-with-libgmp:14.04"
entrypoints:
- stack

nix:
# --nix on the command-line to enable.
enable: false
Expand Down
2 changes: 1 addition & 1 deletion test/integration/lib/StackTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,4 @@ isWindows = os == "mingw32"
-- version is released, pass this argument to @stack@ when running in
-- a global context. The LTS major version here should match that of
-- the main @stack.yaml@.
defaultResolverArg = "--resolver=lts-3"
defaultResolverArg = "--resolver=lts-4"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-3.16
resolver: lts-4.0
packages:
- '.'
extra-deps: []
Expand Down
2 changes: 1 addition & 1 deletion test/integration/tests/32-unlisted-module/files/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ flags: {}
packages:
- '.'
extra-deps: []
resolver: lts-3.0
resolver: lts-4.0
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ flags: {}
packages:
- '.'
extra-deps: []
resolver: lts-3.0
resolver: lts-4.0
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-3.0
resolver: lts-4.0
extra-deps:
- bytestring-0.10.6.0
packages:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ flags: {}
packages:
- '.'
extra-deps: []
resolver: lts-3.0
resolver: lts-4.0
2 changes: 1 addition & 1 deletion test/integration/tests/366-non-root-dir/files/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ flags: {}
packages:
- '.'
extra-deps: []
resolver: lts-3.0
resolver: lts-4.0
Original file line number Diff line number Diff line change
@@ -1 +1 @@
resolver: lts-3.0
resolver: lts-4.0
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ flags: {}
packages:
- '.'
extra-deps: []
resolver: lts-3.0
resolver: lts-4.0
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ flags: {}
packages:
- '.'
extra-deps: []
resolver: lts-3.0
resolver: lts-4.0
2 changes: 1 addition & 1 deletion test/integration/tests/cyclic-test-deps/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import StackTest
main :: IO ()
main = do
stack ["unpack", "text-1.2.1.1"]
stack ["init", "--resolver", "lts-3.0"]
stack ["init", defaultResolverArg]
stack ["test", "--dry-run"]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
resolver: lts-3.0
resolver: lts-4.0
packages: []
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
resolver: lts-3.0
resolver: lts-4.0
packages:
- auto-update-0.1.2.1
2 changes: 1 addition & 1 deletion test/integration/tests/multi-test/files/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ packages:
- sub-package
- cyclic
extra-deps: []
resolver: lts-3.9
resolver: lts-4.0

0 comments on commit c4dc4c7

Please sign in to comment.