添加抽象工厂模式示例,包含手机和笔记本电脑的具体产品及工厂实现,并更新相关文档和构建脚本

This commit is contained in:
2025-12-09 01:33:55 +08:00
parent 7498a885fc
commit c5c0cf76b2
7 changed files with 194 additions and 8 deletions
+9
View File
@@ -0,0 +1,9 @@
DIRS := $(shell ls -d */)
.PHONY: test
test:
for dir in $(DIRS); do \
echo "\n"; \
python3 $$dir/main.py; \
done; \
echo "\nAll Python examples executed.\n"