From 12a981491179afdf286bd16aa558b7f32674d953 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Wed, 30 Sep 2020 21:36:57 +0300 Subject: [PATCH] fix: Test targets compare non-existent directory --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5e3e3f2..dade791 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ uninstall: 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: 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 -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: cd tests $(CLEAN)