You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by iv...@apache.org on 2011/01/22 21:59:24 UTC
svn commit: r1062274 - /wicket/common/site/trunk/regenerate.sh
Author: ivaynberg
Date: Sat Jan 22 20:59:24 2011
New Revision: 1062274
URL: http://svn.apache.org/viewvc?rev=1062274&view=rev
Log:
help script to deal with jekyll
Added:
wicket/common/site/trunk/regenerate.sh (with props)
Added: wicket/common/site/trunk/regenerate.sh
URL: http://svn.apache.org/viewvc/wicket/common/site/trunk/regenerate.sh?rev=1062274&view=auto
==============================================================================
--- wicket/common/site/trunk/regenerate.sh (added)
+++ wicket/common/site/trunk/regenerate.sh Sat Jan 22 20:59:24 2011
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+#workaround script for regenerating the site because jekyll completely wipes _site which causes problems for svn
+mkdir tmp
+tar cfT tmp/archive.tar /dev/null
+find _site -name ".svn"|xargs -I{} tar -rf tmp/archive.tar {}
+jekyll --auto --server
+tar -xf tmp/archive.tar
+rm -rf tmp
+
Propchange: wicket/common/site/trunk/regenerate.sh
------------------------------------------------------------------------------
svn:executable = *