d2a9562554
tools/build-and-upload-api-docs.sh. I'm not sure what this was supposed to do but it seems undocumented.
8 lines
180 B
Bash
8 lines
180 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
dir=$(mktemp -d dist-docs.XXXXXX)
|
|
trap 'rm -r "$dir"' EXIT
|
|
|
|
cabal v2-haddock --builddir="$dir" --haddock-for-hackage
|
|
cabal upload -d --publish $dir/*-docs.tar.gz
|