Skip to content
Snippets Groups Projects
Unverified Commit dd1d2fad authored by Ben Simms's avatar Ben Simms Committed by GitHub
Browse files

Update CONTRIBUTING.md (#1402)

parent 140fc2ce
No related branches found
No related tags found
5 merge requests!38Make --no-tmp-comp-dir the default,!37Adapt to latest xhtml version, various optimizations,!31Support HsToken in DataDecl and ClassDecl,!12Drop orphan instance when defined upstream.,!10Haddock interfaces produced from `.hi` files
...@@ -44,20 +44,20 @@ so that documentation built within GHC can benefit from it. ...@@ -44,20 +44,20 @@ so that documentation built within GHC can benefit from it.
#### Using `cabal` #### Using `cabal`
Requires cabal `>= 3.4` and GHC `== 9.0`: Requires cabal `>= 3.4` and GHC `== 9.2`:
First update the package list:
```bash ```bash
cabal v2-build all --enable-tests cabal v2-update
cabal v2-test all
``` ```
#### Using `stack` This is needed as haddock@ghc-9.2 uses the
[ghc.head](https://ghc.gitlab.haskell.org/head.hackage/) package repository.
```bash ```bash
stack init cabal v2-build all --enable-tests
stack build cabal v2-test all
export HADDOCK_PATH="$(stack exec which haddock)"
stack test
``` ```
### Updating golden testsuite outputs ### Updating golden testsuite outputs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment