Skip to content

Commit

Permalink
Add a hackage-docs target
Browse files Browse the repository at this point in the history
  • Loading branch information
LeventErkok committed Feb 15, 2024
1 parent 194cf65 commit 0bc4487
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ install: tags
docs:
cabal new-haddock --haddock-option=--hyperlinked-source --haddock-option=--no-warnings | ghc ./buildUtils/simpHaddock.hs -e main

# To upload docs to hackage, first run the below target (part of release), then run the next target..
hackage-docs:
cabal new-haddock --haddock-for-hackage --enable-doc --haddock-option=--no-warnings | ghc ./buildUtils/simpHaddock.hs -e main
@echo "*** If all is well, then run:"
@echo " cabal upload -d --publish ./dist-newstyle/sbv-XXX-docs.tar.gz"

ghci:
cabal new-repl --repl-options=-Wno-unused-packages

Expand Down

0 comments on commit 0bc4487

Please sign in to comment.