diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-11-04 14:29:34 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-11-04 14:29:34 +0800 |
| commit | 5991905ae9fb519a3a43c599c5515ba39c04e5fb (patch) | |
| tree | 3d9dcb37a30c9a17070c30c7964afec32a09435b /locales/help_docs | |
| parent | 57320aa7832d88c8e60fa0423df31cf71361ff58 (diff) | |
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
Diffstat (limited to 'locales/help_docs')
| -rw-r--r-- | locales/help_docs/en.yml | 24 | ||||
| -rw-r--r-- | locales/help_docs/zh-CN.yml | 22 |
2 files changed, 45 insertions, 1 deletions
diff --git a/locales/help_docs/en.yml b/locales/help_docs/en.yml index 435ad21..62c1f56 100644 --- a/locales/help_docs/en.yml +++ b/locales/help_docs/en.yml @@ -3,6 +3,17 @@ common: Confirm to perform the above operation? (Y/n): jvv: + version: + header: | + JustEnoughVCS Upstream Vault Manager + VERSION - %{version} + + compile_info: | + Compile Info + Compile Date - %{build_time} + Target - %{build_target} + Platform - %{build_platform} - %{build_toolchain} + help: | **JustEnoughVCS Upstream Vault Commands** This program directly creates, manages, and runs JustEnoughVCS upstream vaults. @@ -135,8 +146,19 @@ jvv: listen_done: Server shutdown! jv: + version: + header: | + JustEnoughVCS + VERSION - %{version} + + compile_info: | + Compile Info + Compile Date - %{build_time} + Target - %{build_target} + Platform - %{build_platform} - %{build_toolchain} + help: | - **JustEnoughVCS Local Workspace Commands** + **JustEnoughVCS** This program connects to upstream vaults to synchronize and commit changes to local workspace files for collaborative work. **ALIASES**: 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 本地工作区命令** 该程序将连接至上游库,用以同步、提交本地工作区文件的变化,以供协同创作 |
