Skip to content

Commit 7292a09

Browse files
committed
more readme tweaks
1 parent cbe1a9c commit 7292a09

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ I use this to do Haskell build CI for projects locally with stack.
99

1010
`stack-all` by default runs `stack build` over Stackage Nightly and
1111
LTS major versions
12-
(the current default range is nightly & major LTS versions back to lts-18)
12+
(the current default range is nightly & major LTS versions back to lts-20)
1313
corresponding to latest major ghc minor versions,
1414
using appropriate stack `--resolver` options.
1515

@@ -81,15 +81,18 @@ minor releases of Stackage major versions.
8181
are not currently supported.)
8282

8383
If you wish you can create `stack-ltsXX.yaml` for all lts versions using
84-
`--make-all-lts` (`-S`).
84+
`--make-all-lts` (`-S`), but it is recommended to only create needed files.
85+
86+
Since 0.7, `stack-lts*.yaml` conflicting (with overlapping major version)
87+
with `stack.yaml` is detected.
8588

8689
### Specifying LTS versions
8790
You can abbreviate `lts-XX` args to `ltsXX` on the commandline.
8891
`lts` is also accepted and resolves to the latest major LTS version.
8992

9093
You can also use ghc major version aliases:
9194
eg `ghc9.8` corresponds to `lts23` or `ghc-9.2` to `lts-20`,
92-
though not for nightly currently.
95+
though not for `nightly` currently.
9396

9497
There are `--oldest` and `--newest` options to specify the range of
9598
lts versions to build over:
@@ -98,10 +101,10 @@ You can specify the oldest major LTS to build for with eg `stack-all -o lts18`.
98101
Otherwise if not configured the default oldest LTS is currently `lts-20`.
99102

100103
Similarly you can specify the newest LTS version to build from with
101-
eg `stack-all -n lts20`. (The default is to build from nightly.)
104+
eg `stack-all -n lts21`. (The default is to build from nightly.)
102105

103106
Alternatively, one can give one or more explicit LTS major versions to build
104-
for as arguments: eg `stack-all lts21` if you only wish to build that version.
107+
for as arguments: eg `stack-all lts22` if you only wish to build that version.
105108

106109
### Configuring the oldest and/or newest LTS to build
107110
You can configure the oldest working LTS major version for your project
@@ -116,7 +119,7 @@ oldest = lts-21
116119
This specifies that the oldest LTS version to build for is lts-21.
117120

118121
The newest LTS to build with stack-all can similarly be configured:
119-
`stack-all -c -n lts22` or setting `newest = lts-22`.
122+
`stack-all -c -n lts22` or inserting `newest = lts-22`.
120123

121124
### Running other stack commands
122125
By default `stack-all` just runs the stack `build` command over

0 commit comments

Comments
 (0)