mirror of
https://github.com/Insality/druid
synced 2025-06-27 10:27:48 +02:00
18 lines
580 B
Bash
Executable File
18 lines
580 B
Bash
Executable File
#!/bin/bash
|
|
|
|
## I am using Ldoc and my own Ldoc -> emmylua generator:
|
|
## https://github.com/Insality/emmylua-from-ldoc-annotations
|
|
|
|
emmylua_generator_path=~/code/lua/emmylua-from-ldoc-annotations
|
|
|
|
echo "Update Ldoc"
|
|
ldoc . --testing
|
|
|
|
echo ""
|
|
echo "Update EmmyLua annotations"
|
|
original_path=$(pwd)
|
|
bash $emmylua_generator_path/export.sh $original_path
|
|
mv $emmylua_generator_path/annotations.lua $original_path/druid/annotations.lua
|
|
cat ./utils/annotations_manual.lua >> $original_path/druid/annotations.lua
|
|
cp $original_path/utils/ldoc_fixed.css $original_path/docs/ldoc_fixed.css
|