- 修改justfile中的构建命令,将build-lexer重命名为build_lexer - 添加count命令用于统计代码行数 - 更新docs命令依赖关系 feat(docs): 完善README文档内容 - 更新项目名称为Simple C Compiler,简化为`scc` - 添加详细的构建说明,介绍cbuild构建工具 - 补充标准C语言文档链接 - 重新组织项目特点描述 refactor(tree_dump): 修复未使用的返回值警告 - 在tree_dump_pop_level函数中添加(void)强制转换 - 解决scc_vec_pop返回值未被使用的问题 chore(gitignore): 添加新的忽略文件类型 - 增加.dot和.svg文件类型的忽略规则 - 保持.gitignore文件结构清晰
16 lines
271 B
Makefile
16 lines
271 B
Makefile
list:
|
|
just --list
|
|
|
|
build_docs:
|
|
doxygen Doxyfile
|
|
|
|
docs: build_docs
|
|
python -m http.server -d docs/html
|
|
|
|
count:
|
|
# you need download `tokei` it can download by cargo
|
|
tokei libs runtime src -e tests
|
|
|
|
build_lexer:
|
|
python ./tools/cbuild/cbuild.py --path libs/lexer build
|