优化抽象工厂模式示例,添加品牌方法并重构工厂实现,更新构建脚本以支持更清晰的输出
This commit is contained in:
+8
-4
@@ -1,9 +1,13 @@
|
||||
DIRS := $(shell ls -d */)
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
ifndef VERBOSE
|
||||
.SILENT:
|
||||
endif
|
||||
|
||||
all:
|
||||
for dir in $(DIRS); do \
|
||||
echo "\n"; \
|
||||
python3 $$dir/main.py; \
|
||||
done; \
|
||||
echo "\nAll Python examples executed.\n"
|
||||
echo "\n"; \
|
||||
done
|
||||
echo "All Python examples executed.\n"
|
||||
|
||||
Reference in New Issue
Block a user