Update lua docs when packaging a new build.
This commit is contained in:
@@ -2,7 +2,14 @@ echo "Updating https://github.com/OpenRA/OpenRA/wiki/Traits"
|
||||
rm -rf openra-wiki
|
||||
git clone git@github.com:OpenRA/OpenRA.wiki.git openra-wiki
|
||||
cp -fr ../DOCUMENTATION.md openra-wiki/Traits.md
|
||||
|
||||
pushd .. &> /dev/null
|
||||
# d2k depends on all mod libraries
|
||||
mono --debug OpenRA.Utility.exe --lua-docs d2k > packaging/openra-wiki/New-Lua-API.md
|
||||
popd &> /dev/null
|
||||
|
||||
cd openra-wiki
|
||||
git add Traits.md
|
||||
git commit -m "Update trait documentation"
|
||||
git add New-Lua-API.md
|
||||
git commit -m "Update trait and scripting documentation"
|
||||
git push origin master
|
||||
Reference in New Issue
Block a user