From 6ef3a8ccc3c1267d253ef048b1955e10123ee1ee Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Wed, 30 Sep 2020 21:41:56 +0300 Subject: [PATCH] feat: Add make target to generate test 'before' condition' --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4fe351e..258699e 100644 --- a/Makefile +++ b/Makefile @@ -30,17 +30,20 @@ test: test-basic test-example test-md test-tables RUN=&& ldoc . && diff -r docs cdocs && echo ok +test-prep: + find -type d -name doc -execdir rsync -av --del {}/ cdocs/ \; + test-basic: cd tests $(RUN) test-example: - cd tests && cd example $(RUN) + cd tests/example $(RUN) test-md: - cd tests && cd md-test $(RUN) + cd tests/md-test $(RUN) test-tables: - cd tests && cd simple $(RUN) + cd tests/simple $(RUN) test-clean: clean-basic clean-example clean-md clean-tables