nsbin/ikiwikitest.sh
Nico Schottelius 07cb4fbcfe add timing information for ikiwikiruns
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-21 20:00:11 +02:00

17 lines
356 B
Bash
Executable file

#!/bin/sh
set -x
BDIR=~/b/ikiwiki
( cd "${BDIR}" && git describe )
START="$(date)"
PERL5LIB=${BDIR} ${BDIR}/ikiwiki.in \
--libdir ${BDIR} \
--templatedir ${BDIR}/templates \
-set underlaydir=${BDIR}/underlays \
-set underlaydirbase=${BDIR}/underlays \
--setup ikiwiki.setup \
"$@"
ret=$?
END="$(date)"
echo ${START} - ${END}: ikiwiki result: $?