This commit is contained in:
Robert Jelic
2025-02-09 18:32:22 +01:00
parent 257c002dc7
commit b3919764c4

View File

@@ -30,10 +30,10 @@ uninstall:
test: test-basic test-example test-md test-tables
RUN=&& lua $(_REPODIR)/ldoc.lua . && diff -r doc cdocs && echo ok
RUN=&& lua $(_REPODIR)/ldoc.lua . && diff -r docs cdocs && echo ok
test-prep:
find -type d -name doc -execdir rsync -av --del {}/ cdocs/ \;
find -type d -name docs -execdir rsync -av --del {}/ cdocs/ \;
test-basic:
cd tests $(RUN)
@@ -50,9 +50,9 @@ test-tables:
test-clean: clean-basic clean-example clean-md clean-tables
doc-site:
cd $(_REPODIR)/doc && lua $(_REPODIR)/ldoc.lua .
cd $(_REPODIR)/docs && lua $(_REPODIR)/ldoc.lua .
CLEAN=&& lua $(_REPODIR)/ldoc.lua . && rd /S /Q cdocs && cp -rf doc cdocs
CLEAN=&& lua $(_REPODIR)/ldoc.lua . && rd /S /Q cdocs && cp -rf docs cdocs
clean-basic:
cd tests $(CLEAN)