Created
June 14, 2022 06:19
-
-
Save chris-martin/6a80798ee5bae94b8c06e170f336e31c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dir=$(mktemp -d dist-docs.XXXXXX) | |
cabal configure --builddir="$dir" | |
cabal haddock --builddir="$dir" --haddock-for-hackage --haddock-option=--hyperlinked-source | |
cabal upload --publish -d $dir/*-docs.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment