fix: Test targets compare non-existent directory

This commit is contained in:
Caleb Maclennan 2020-09-30 21:36:57 +03:00
parent 874d845ee9
commit 12a9814911
No known key found for this signature in database
GPG Key ID: 63CC496475267693
1 changed files with 2 additions and 2 deletions

View File

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