cocoon/.gitignore
xfy911 2dc29d0687 feat(config): 插件配置支持 JSON 数组格式
- 极简 JSON 解析器新增 '[' / ']' token 支持
- plugins 字段可同时兼容字符串和字符串数组
- 向后兼容:单字符串 "plugins.so" 仍有效
- 向前扩展:数组 ["a.so", "b.so"] 支持多插件

修复:
- .gitignore 添加遗漏的 test_websocket 二进制
- Makefile 补全 test_log 单元测试编译规则
- cocoon.json 示例改为数组格式
- test_config.c 新增 3 项 plugins 解析测试(字符串/单数组/多数组)

全部 142 个单元测试 + 68 项集成测试通过 ✓
2026-06-06 09:07:28 +08:00

16 lines
290 B
Plaintext

# 忽略构建产物
*.o
cocoon
# 忽略测试二进制文件和上传目录
tests/unit/test_config
tests/unit/test_http
tests/unit/test_log
tests/unit/test_multipart
tests/unit/test_static
tests/unit/test_server
tests/unit/test_websocket
tests/fixtures/uploads/
plugins/*.so
www/uploads/