Skip to content

Instantly share code, notes, and snippets.

@stbuehler
stbuehler / hackage-upload-docs.sh
Last active Oct 6, 2017
Generate and upload docs for hackage packages
View hackage-upload-docs.sh
#!/bin/bash
# Options / Usage
# put this script in the same directory as your *.cabal file
# it will use the first line of "cabal info ." to determine the package name
# custom options for "cabal haddock" (cabal haddock --help,
# http://www.haskell.org/haddock/doc/html/invoking.html)
CUSTOM_OPTIONS=(--haddock-options='-q aliased')
# hackage server to upload to (and to search uploaded versions for)
You can’t perform that action at this time.