From: Leandro Lucarella Date: Sun, 14 Nov 2010 21:57:56 +0000 (-0300) Subject: Add a simple script to generate Dil arguments to parse Tango X-Git-Url: https://git.llucax.com/software/dgc/dgcbench.git/commitdiff_plain/108f280a53facd168fe00b65735a2f18105105be Add a simple script to generate Dil arguments to parse Tango Generating the Tango docs using Dil involves a lot of arguments passing to Dil, so adding this trivial script simplifies a lot doing that. Just run: dil `./dil-args.sh` --- diff --git a/dil-args.sh b/dil-args.sh new file mode 100755 index 0000000..abb3ae3 --- /dev/null +++ b/dil-args.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +echo -n "ddoc /tmp/tangodoc -hl --kandil -version=Tango -version=TangoDoc -version=Posix -version=linux " +files=`find ../tango/tango -name '*.d' -o -name '*.di' | grep -v invariant` +test -n "$1" && + files=`echo $files | cut -d' ' -f1-$1` +echo $files +