feat: Add make target to generate test 'before' condition'
This commit is contained in:
parent
6118163064
commit
6ef3a8ccc3
9
Makefile
9
Makefile
|
@ -30,17 +30,20 @@ test: test-basic test-example test-md test-tables
|
||||||
|
|
||||||
RUN=&& ldoc . && diff -r docs cdocs && echo ok
|
RUN=&& ldoc . && diff -r docs cdocs && echo ok
|
||||||
|
|
||||||
|
test-prep:
|
||||||
|
find -type d -name doc -execdir rsync -av --del {}/ cdocs/ \;
|
||||||
|
|
||||||
test-basic:
|
test-basic:
|
||||||
cd tests $(RUN)
|
cd tests $(RUN)
|
||||||
|
|
||||||
test-example:
|
test-example:
|
||||||
cd tests && cd example $(RUN)
|
cd tests/example $(RUN)
|
||||||
|
|
||||||
test-md:
|
test-md:
|
||||||
cd tests && cd md-test $(RUN)
|
cd tests/md-test $(RUN)
|
||||||
|
|
||||||
test-tables:
|
test-tables:
|
||||||
cd tests && cd simple $(RUN)
|
cd tests/simple $(RUN)
|
||||||
|
|
||||||
test-clean: clean-basic clean-example clean-md clean-tables
|
test-clean: clean-basic clean-example clean-md clean-tables
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue