blob: a9fc760e7a1ef0565c6b079315d58e0183cc6e6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
topdir=$(pwd)
[ -f "$topdir/build/makedocs.sh" -a -n "$1" ] || {
echo "Please execute as ./build/makedocs.sh [output directory]" >&2
exit 1
}
(
cd "$topdir/build/luadoc/"
find "$topdir/libs/" "$topdir/modules/" -type f -name '*.lua' -or -name '*.luadoc' | \
xargs grep -l '@return' | xargs ./doc.lua --no-files -d "$1"
)
|