This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "snap".

The branch, master has been updated
       via  2a1830c140c6cd93c5bf9d49c5c0aa80e49b3d8a (commit)
      from  9b4aaea4cdc064f32cfb0d02fe36377a71ab2bfa (commit)


Summary of changes:
 haddock.sh |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
 create mode 100755 haddock.sh

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2a1830c140c6cd93c5bf9d49c5c0aa80e49b3d8a
Author: Gregory Collins <[email protected]>
Date:   Sat Dec 11 16:46:30 2010 +0100

    Add haddock shell script

diff --git a/haddock.sh b/haddock.sh
new file mode 100755
index 0000000..2233466
--- /dev/null
+++ b/haddock.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -x
+
+HADDOCK_OPTS='--html-location=http://hackage.haskell.org/packages/archive/$pkg/latest/doc/html
 --css=extra/haddock.css'
+
+cabal haddock $HADDOCK_OPTS --hyperlink-source $@
+
+cp -r extra/fonts dist/doc/html/snap/
+cp extra/logo.gif dist/doc/html/snap/haskell_icon.gif
+cp extra/hscolour.css dist/doc/html/snap/src/
-----------------------------------------------------------------------


hooks/post-receive
-- 
snap
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap

Reply via email to