【问题标题】:Use the git hash code in Eclipse CDT build process在 Eclipse CDT 构建过程中使用 git 哈希码
【发布时间】:2019-04-17 05:29:20
【问题描述】:

我们需要将简短的 git 哈希码 git rev-parse --short HEAD 传递给 eclipse 构建过程。 我们使用 Eclipse CDT 内部构建器。 我尝试使用预构建脚本将 git 哈希存储在环境变量中。 但是在构建中,变量是空的。 我们的开发系统基于带有交叉 c 编译器的 windows eclipse CDT。 如何实现?

【问题讨论】:

    标签: c eclipse git hash


    【解决方案1】:

    我目前找到的唯一解决方案是编写一个 Eclipse 插件。 正在进行中...

    【讨论】:

      猜你喜欢
      • 2015-10-06
      • 1970-01-01
      • 2015-03-26
      • 2010-12-21
      • 1970-01-01
      • 1970-01-01
      • 2011-01-07
      • 2010-11-06
      • 2012-07-11
      相关资源
      最近更新 更多