@@ -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
1111LTS 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 )
1313corresponding to latest major ghc minor versions,
1414using appropriate stack ` --resolver ` options.
1515
@@ -81,15 +81,18 @@ minor releases of Stackage major versions.
8181are not currently supported.)
8282
8383If 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
8790You can abbreviate ` lts-XX ` args to ` ltsXX ` on the commandline.
8891` lts ` is also accepted and resolves to the latest major LTS version.
8992
9093You can also use ghc major version aliases:
9194eg ` 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
9497There are ` --oldest ` and ` --newest ` options to specify the range of
9598lts versions to build over:
@@ -98,10 +101,10 @@ You can specify the oldest major LTS to build for with eg `stack-all -o lts18`.
98101Otherwise if not configured the default oldest LTS is currently ` lts-20 ` .
99102
100103Similarly 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
103106Alternatively, 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
107110You can configure the oldest working LTS major version for your project
@@ -116,7 +119,7 @@ oldest = lts-21
116119This specifies that the oldest LTS version to build for is lts-21.
117120
118121The 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
122125By default ` stack-all ` just runs the stack ` build ` command over
0 commit comments