0bdb62c58e
In particular, this now ensure that we actually use the ghcup version we installed as well as a separate installation directory, instead of any potentially previously installed versions/files. |
||
---|---|---|
.github/workflows | ||
ghcup-gen | ||
.gitignore | ||
cabal.project | ||
ghcup-0.0.1.json | ||
ghcup-0.0.1.json.sig | ||
ghcup-0.0.2.json | ||
ghcup-0.0.2.json.sig | ||
ghcup-0.0.2.yaml | ||
ghcup-0.0.2.yaml.sig | ||
ghcup-0.0.3.yaml | ||
ghcup-0.0.3.yaml.sig | ||
ghcup-0.0.4-rc2.yaml | ||
ghcup-0.0.4-rc2.yaml.sig | ||
ghcup-0.0.4.yaml | ||
ghcup-0.0.4.yaml.sig | ||
ghcup-0.0.5.yaml | ||
ghcup-0.0.5.yaml.sig | ||
ghcup-0.0.6.yaml | ||
ghcup-0.0.6.yaml.sig | ||
ghcup-0.0.7.yaml | ||
ghcup-0.0.7.yaml.sig | ||
ghcup-prereleases-0.0.7.yaml | ||
ghcup-prereleases-0.0.7.yaml.sig | ||
hls-metadata-0.0.1.json | ||
hls-metadata-0.0.1.json.sig | ||
README.md |
GHCup metadata
Adding a new GHC version
- open the latest
ghcup-<yaml-ver>.yaml
- find the latest ghc version (in yaml tree e.g.
ghcupDownloads -> GHC -> 8.10.7
) - copy-paste it
- adjust the version, tags, changelog, source url
- adjust the various bindist urls (make sure to also change the yaml anchors)
- run
cabal run ghcup-gen -- check -f ghcup-<yaml-ver>.yaml
- run
cabal run ghcup-gen -- check-tarballs -f ghcup-<yaml-ver>.yaml -u 'ghc-8\.10\.8'
- run
cabal run ghcup-gen -- generate-hls-ghcs -f ghcup-<yaml-ver>.yaml --format json -o hls-metadata-0.0.1.json
- run
cabal run ghcup-gen -- generate-table -f ghcup-<yaml-ver>.yaml --stdout
and adjust docs/install tables