mirror of
https://github.com/koreader/koreader.git
synced 2025-12-18 12:02:09 +01:00
ci: fix call to ldoc (#14207)
Since luarocks >= 3.12.0 is broken, and does not honor `wrap_bin_scripts = false` anymore, just call ldoc directly so it works even if a wrapper script is used.
This commit is contained in:
@@ -24,7 +24,7 @@ git clone git@github.com:koreader/doc.git koreader_doc
|
|||||||
|
|
||||||
# push doc update
|
# push doc update
|
||||||
pushd doc && {
|
pushd doc && {
|
||||||
luajit "$(command -v ldoc)" .
|
ldoc .
|
||||||
if [ ! -d html ]; then
|
if [ ! -d html ]; then
|
||||||
echo "Failed to generate documents..."
|
echo "Failed to generate documents..."
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user