Permalink
Browse files

Add posthook script

Ignore-this: d879ed35eb0e872da3a9b017d8c0b13a

darcs-hash:20090716114944-dde64-cde5f67aebded98d752a9318062d63f6ce2525d1.gz
  • Loading branch information...
1 parent 50be32d commit 4f30b55803f6024e2f319496490888eb8fa93d43 @kaoskorobase committed Jul 16, 2009
Showing with 9 additions and 0 deletions.
  1. +9 −0 tools/posthook
View
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+function remote_cat()
+{
+ ssh code.haskell.org sh -c "cat > \"${1}\""
+}
+
+pandoc -s README.md ChangeLog.md | remote_cat '/srv/code/hsndfile/index.html'
+pandoc -s ChangeLog.md | remote_cat '/srv/code/hsndfile/ChangeLog.html'

0 comments on commit 4f30b55

Please sign in to comment.