~jack/libtelnet-haskell

ref: ba46f4705601fdfa0860eefae53bd75a1f005c0e libtelnet-haskell/mkdocs -rwxr-xr-x 290 bytes
ba46f470Jack Kelly Rename: Network.Telnet.LibTelnet.{FFI,Ffi} 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 v2-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