开发与发布
从源码运行:
make dev测试和构建:
make testmake buildmake build 将带版本信息的二进制写入 bin/leo。版本默认从 .env 的 version= 读取。
创建 tag 并递增 patch 版本,或显式指定版本:
make releasemake release V=v0.1.0构建多平台产物、推送 tag 并发布 GitHub Release:
make release-githubmake release-github V=v0.1.0release-github 需要已安装并登录 GitHub CLI。
cmd/ Cobra command wiringinternal/config/ YAML config, default paths, path expansioninternal/dockercopy/ Docker image reference and registry alias resolutioninternal/logview/ Safe log discovery, parsing, search, and followinternal/logweb/ Authenticated HTTP APIs and embedded browser workspaceinternal/project/ Current-project matching and root resolutioninternal/repoindex/ Git repository scanning and metadata extractioninternal/repoui/ Bubble Tea repository pickerinternal/store/ SQLite storage and migrationsscripts/ Release helper scripts