haddock uploading

This commit is contained in:
Chris Allen 2014-05-03 17:38:25 -05:00
parent b02fa7bf77
commit dcbea84f9c
2 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ cabal.sandbox.config
dist/
.project
.dist-buildwrapper/
.DS_Store

View File

@ -16,4 +16,8 @@ reset:
cabal sandbox init
haddock:
cabal haddock --hyperlink-source
cabal haddock --hyperlink-source --html-location='http://hackage.haskell.org/package/bloodhound/docs' --contents-location='http://hackage.haskell.org/package/bloodhound'
# cp -R ./dist/doc/html/bloodhound/ bloodhound-0.1.0.1-docs
# tar cvzf --format=ustar -f bloodhound-0.1.0.1-docs.tar.gz bloodhound-0.1.0.1-docs
# curl -X PUT -H 'Content-Type: application/x-tar' -H 'Content-Encoding: gzip' --data-binary '@bloodhound-0.1.0.1-docs.tar.gz' 'http://bitemyapp:$PASSWORD@hackage.haskell.org/package/bloodhound-0.1.0.1/docs'