diff --git a/.gitignore b/.gitignore index 3b05eaa..3653323 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ cabal.sandbox.config dist/ .project .dist-buildwrapper/ +.DS_Store diff --git a/Makefile b/Makefile index 77d0cb0..f7f5412 100644 --- a/Makefile +++ b/Makefile @@ -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'