Skip to content

Commit eee6a98

Browse files
committed
Exit with error status if an example file fails
1 parent bcd1231 commit eee6a98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/make/lib/examples/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ examples: node_modules
1515
for file in $(EXAMPLES); do \
1616
echo ""; \
1717
echo "Running example: $$file"; \
18-
$(NODE) $$file; \
18+
$(NODE) $$file || exit 1; \
1919
done
2020

2121
.PHONY: examples

0 commit comments

Comments
 (0)