aboutsummaryrefslogtreecommitdiff
path: root/generate-docs.sh
diff options
context:
space:
mode:
authorrc_05 <contact@rc-05.com>2024-05-24 23:03:55 +0200
committerrc_05 <contact@rc-05.com>2024-05-25 00:58:25 +0200
commit2095935c2488d1a46c7dd0c9d2325e41715b8ad9 (patch)
tree9761c6b5956d9b89e37a1eb6630ba63d39a8128a /generate-docs.sh
downloadhaxe-unix-sockets-d3989d56915a8fc9ca5f09b0cce09e225b310d62.tar.gz
First commit1.0.0
Diffstat (limited to 'generate-docs.sh')
-rwxr-xr-xgenerate-docs.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/generate-docs.sh b/generate-docs.sh
new file mode 100755
index 0000000..a633511
--- /dev/null
+++ b/generate-docs.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+SOURCE_PATH="https://git.rc-05.com/haxe-unix-sockets/tree/src"
+VERSION=${VERSION:-git}
+
+haxe --class-path src \
+ --no-output \
+ --each \
+ --next --cpp cpp --xml cpp/types.xml \
+ unix
+
+haxelib run dox \
+ -i cpp/types.xml \
+ -o docs \
+ --toplevel-package unix \
+ -D version $VERSION \
+ -D source-path $SOURCE_PATH