From 5991905ae9fb519a3a43c599c5515ba39c04e5fb Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Tue, 4 Nov 2025 14:29:34 +0800 Subject: Add compile-time version and build information - Add build script to generate compile_info.rs with build metadata - Include version, build date, target platform, and toolchain info - Add version command to both jv and jvv binaries - Update help documentation with version information - Ignore generated compile_info.rs in git --- locales/help_docs/zh-CN.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'locales/help_docs/zh-CN.yml') diff --git a/locales/help_docs/zh-CN.yml b/locales/help_docs/zh-CN.yml index 7fa8a43..ba89cb8 100644 --- a/locales/help_docs/zh-CN.yml +++ b/locales/help_docs/zh-CN.yml @@ -3,6 +3,17 @@ common: 是否执行上述操作?(Y/n): jvv: + version: + header: | + JustEnoughVCS 上游库管理工具 + 当前版本:%{version} + + compile_info: | + 编译信息: + 时间:%{build_time} + 目标:%{build_target} + 平台:%{build_platform} - %{build_toolchain} + help: | **JustEnoughVCS 上游库命令** 该程序直接创建、管理、运行 JustEnoughVCS 的上游库 @@ -129,6 +140,17 @@ jvv: listen_done: 服务端运行结束! jv: + version: + header: | + JustEnoughVCS 本地工作区命令 + 当前版本:%{version} + + compile_info: | + 编译信息: + 时间:%{build_time} + 目标:%{build_target} + 平台:%{build_platform} - %{build_toolchain} + help: | **JustEnoughVCS 本地工作区命令** 该程序将连接至上游库,用以同步、提交本地工作区文件的变化,以供协同创作 -- cgit