summaryrefslogtreecommitdiffhomepage
path: root/build/makedocs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/makedocs.sh')
-rwxr-xr-xbuild/makedocs.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/makedocs.sh b/build/makedocs.sh
new file mode 100755
index 0000000000..2f7f573450
--- /dev/null
+++ b/build/makedocs.sh
@@ -0,0 +1,2 @@
+luadoc -d $2 --no-files $(for f in $(find $1 -name '*.lua' -type f); do if grep -q -- "@return" $f; then echo $f; fi; done)
+echo API-Documentation was created in $2.