Files
MediaOrganizer/Makefile
T
Shuery 0df07ad0ae refactor: 迁移至 bashly CLI 与功能域模块结构
- CLI 定义迁移至 src/bashly.yml(bashly 1.4 生成参数解析),入口收敛为 src/root_command.sh
- 源码按功能域重组:config/storage/integrate/media/pipeline,消除扁平散落
- 新增零依赖测试框架 tests/(123 用例)与 CI 流水线(lint + test + build + 产物一致性)
- build.sh 支持版本单一来源注入与 --check 产物校验;新增 lint.sh(bash -n + shellcheck 零容忍)
- 删除旧单文件 media_organizer.sh 与旧扁平模块
2026-08-14 22:41:28 +08:00

28 lines
703 B
Makefile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ============================================================================
# 任务统一入口
#
# make build 构建分发脚本 dist/media_organizer(bashly generate)
# make test 运行单元测试
# make lint ShellCheck + bash -n 静态检查
# make check lint + test + 产物一致性(可接 CI)
# make clean 删除构建产物
#
# 直接调用底层脚本亦可(./build.sh、./tests/run.sh、./lint.sh)。
# ============================================================================
.PHONY: build test lint check clean
build:
./build.sh
test:
./tests/run.sh
lint:
./lint.sh
check: lint test
./build.sh --check
clean:
rm -f dist/media_organizer