Skip to content

Commit db397c1

Browse files
committed
Make: add test
1 parent d99cc01 commit db397c1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,11 @@ rebuild-track:
2828
git commit -m "[$$version] rebuild php" || true; \
2929
fi; \
3030
done
31+
32+
# Run tests in all libs
33+
.PHONY: test
34+
test:
35+
@for dir in $(LIBS); do \
36+
echo "Running tests in $$(basename $$dir)..."; \
37+
(cd $$dir && npm test) || echo "Tests failed in $$(basename $$dir)"; \
38+
done

0 commit comments

Comments
 (0)