~jack/libtelnet-haskell

ref: 5fb0cb65b97dad78397a2c83e5fb95a9c20337b7 libtelnet-haskell/mkdocs -rwxr-xr-x 287 bytes
5fb0cb65Jack Kelly Drop unneeded extension 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