Skip to content

Commit

Permalink
test-docs: target examples directly
Browse files Browse the repository at this point in the history
  • Loading branch information
KrystalDelusion committed Jan 24, 2024
1 parent 4ac983e commit 2a14c72
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,12 @@ PYTHON ?= python3
.PHONY: test test-examples test-macros
test: test-examples test-macros

test-examples:
$(MAKE) -C source/_images examples
FORCE:
../%/Makefile: FORCE
+$(MAKE) -C $(@D)

CODE_EXAMPLES := source/code_examples/*/Makefile
test-examples: $(CODE_EXAMPLES)

test-macros:
$(PYTHON) tests/macro_commands.py

0 comments on commit 2a14c72

Please sign in to comment.