~jack/libtelnet-haskell

ref: 3b76fdedf4f32064e901989bbba737910b3e470b libtelnet-haskell/mkdocs -rwxr-xr-x 287 bytes
3b76fdedJack Kelly Add CI failure email 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -e

dir=$(mktemp -d dist-docs.XXXXXX)
trap 'rm -fr "$dir"' EXIT

cabal haddock --builddir="$dir" --for-hackage --haddock-option=--hyperlinked-source
# Starting with cabal 2.0, `--publish` is needed for uploading to non-candidate releases
cabal upload -d $dir/*-docs.tar.gz