From: Wolfram Schneider Date: Fri, 3 Jan 2014 17:35:20 +0000 (+0000) Subject: Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws X-Git-Tag: 1.0.0~1748 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=885380e6a0107e77cbe404a7c36034b977bca46d;hp=3519b8b5d59428b5c48e15cbd3513c7a57e1a89c;p=mkws-moved-to-github.git Merge branch 'master' of ssh://git.indexdata.com:222/home/git/private/mkws --- diff --git a/tools/bin/mkws-bootstrap.sh b/tools/bin/mkws-bootstrap.sh new file mode 100755 index 0000000..16575ff --- /dev/null +++ b/tools/bin/mkws-bootstrap.sh @@ -0,0 +1,27 @@ +#!/bin/sh +# Copyright (c) 2010-2013 by Index Data ApS. http://www.indexdata.com +# +# mkws-bootstrap.sh - build the MKWS from GIT repo in a sandbox and run full tests +# + +# fail on error +set -e + +dir=$(mktemp -d -t mkws-bootstrap.XXXXXXXX) +cd $dir + +: ${debug=""} + +git clone -q ssh://git.indexdata.com:222/home/git/private/mkws.git +cd mkws + +test -n "$debug" && echo "start bootstraping in $dir" +if make pz2api-git-checkout check check-js > mkws.log 2>&1; then + test -n "$debug" && echo "Ok" + test -z "$debug" && rm -rf $dir + exit 0 +else + echo "Failure, see `pwd`/mkws.log" + exit 1 +fi +