File tree Expand file tree Collapse file tree 2 files changed +36
-31
lines changed
Expand file tree Collapse file tree 2 files changed +36
-31
lines changed Original file line number Diff line number Diff line change 11
2- # TARGETS #
2+ # DEPENDENCIES #
33
4- # Run examples.
5- #
6- # This target runs a list of examples in sequential order. Note that we assume the examples can be run using Node.js.
7-
8- examples : $(NODE_MODULES )
9- $(QUIET ) $(FIND_EXAMPLES_CMD ) | grep ' ^[\/]\|^[a-zA-Z]:[/\]' | while read -r file; do \
10- echo " " ; \
11- echo " Running example: $$ file" ; \
12- NODE_ENV=$(NODE_ENV_EXAMPLES ) \
13- NODE_PATH=$(NODE_PATH_EXAMPLES ) \
14- $(NODE ) $$ file || exit 1; \
15- done
16-
17- .PHONY : examples
18-
19-
20- # Run examples.
21- #
22- # This target runs a specified list of examples in sequential order. Note that we assume the examples can be run using Node.js.
23-
24- examples-files : $(NODE_MODULES )
25- $(QUIET ) for file in $( FILES) ; do \
26- echo " " ; \
27- echo " Running example: $$ file" ; \
28- NODE_ENV=$(NODE_ENV_EXAMPLES ) \
29- NODE_PATH=$(NODE_PATH_EXAMPLES ) \
30- $(NODE ) $$ file || exit 1; \
31- done
32-
33- .PHONY : examples-files
4+ include $(TOOLS_MAKE_LIB_DIR ) /examples/examples.mk
5+ # include $(TOOLS_MAKE_LIB_DIR)/examples/markdown.mk
Original file line number Diff line number Diff line change 1+
2+ # TARGETS #
3+
4+ # Run examples.
5+ #
6+ # This target runs a list of examples in sequential order. Note that we assume the examples can be run using Node.js.
7+
8+ examples : $(NODE_MODULES )
9+ $(QUIET ) $(FIND_EXAMPLES_CMD ) | grep ' ^[\/]\|^[a-zA-Z]:[/\]' | while read -r file; do \
10+ echo " " ; \
11+ echo " Running example: $$ file" ; \
12+ NODE_ENV=$(NODE_ENV_EXAMPLES ) \
13+ NODE_PATH=$(NODE_PATH_EXAMPLES ) \
14+ $(NODE ) $$ file || exit 1; \
15+ done
16+
17+ .PHONY : examples
18+
19+
20+ # Run examples.
21+ #
22+ # This target runs a specified list of examples in sequential order. Note that we assume the examples can be run using Node.js.
23+
24+ examples-files : $(NODE_MODULES )
25+ $(QUIET ) for file in $( FILES) ; do \
26+ echo " " ; \
27+ echo " Running example: $$ file" ; \
28+ NODE_ENV=$(NODE_ENV_EXAMPLES ) \
29+ NODE_PATH=$(NODE_PATH_EXAMPLES ) \
30+ $(NODE ) $$ file || exit 1; \
31+ done
32+
33+ .PHONY : examples-files
You can’t perform that action at this time.
0 commit comments