Update HACKING.md
This commit is contained in:
parent
28b4737758
commit
5134eccbf8
15
HACKING.md
15
HACKING.md
@ -52,8 +52,19 @@ organised tree-ish in `GHCup.Utils` and `GHCup.Utils.*`.
|
|||||||
Anything dealing with ghcup specific directories is in
|
Anything dealing with ghcup specific directories is in
|
||||||
`GHCup.Utils.Dirs`.
|
`GHCup.Utils.Dirs`.
|
||||||
|
|
||||||
Download information on where to fetch bindists from is in
|
Download information on where to fetch bindists from is in the appropriate
|
||||||
`GHCup.Data.GHCupDownloads`.
|
yaml files: `ghcup-<yaml-ver>.yaml`.
|
||||||
|
|
||||||
|
## Common Tasks
|
||||||
|
|
||||||
|
### Adding a new GHC version
|
||||||
|
|
||||||
|
1. open the latest `ghcup-<yaml-ver>.yaml`
|
||||||
|
2. find the latest ghc version (in yaml tree e.g. `ghcupDownloads -> GHC -> 8.10.3`)
|
||||||
|
3. copy-paste it
|
||||||
|
4. adjust the version, tags, changelog, source url
|
||||||
|
5. adjust the various bindist urls (make sure to also change the yaml anchors)
|
||||||
|
6. run `cabal run exe:ghcup-gen -- check-tarballs -f ghcup-<yaml-ver>.yaml -u 'ghc-8\.10\.4'`
|
||||||
|
|
||||||
## Major refactors
|
## Major refactors
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user