commercialhaskell / commercialhaskell/stack

Execute haddock concurrently with builds

Open
#2,449 1 comment 0 reactions 0 assignees View on GitHub
component: haddock type: performance
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

Currently, the haddock runs as part of the build step, at the end of the build step. This means that for subsequent build steps we can be waiting on haddock, even though the subsequent build steps would work just fine (up until its haddock step).

So with haddock on, instead of having action dependencies like `build pkgA`dependsOn`build pkgB` we've got:

```
build pkgA `dependsOn` build pkgB
haddock pkgA `dependsOn` build pkgA
haddock pkgB `dependsOn` build pkgB
haddock pkgB `dependsOn` haddock pkgA
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.