From 108f280a53facd168fe00b65735a2f18105105be Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Sun, 14 Nov 2010 18:57:56 -0300 Subject: [PATCH] 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` --- dil-args.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 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 + -- 2.43.0