【问题标题】:I Can use a custom Swiftlint Instalation path on xcode?我可以在 xcode 上使用自定义 Swiftlint 安装路径吗?
【发布时间】:2023-03-13 11:10:01
【问题描述】:

我需要在我的 mac 上安装带有 mint 的 swiftlint,在路径 user/.mint/bin 上,但是 xcode 无法识别安装我可以使用自定义路径 xcode swiftlint 配置吗?

我从下面的 conf 添加了一个默认图像。

【问题讨论】:

    标签: swift xcode linux-mint swiftlint


    【解决方案1】:

    在检查 swiftlint 之前,您的脚本需要更新本地 PATH:

    export PATH=${HOME}/.mint/bin:${PATH}
    # Rest of script
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-07-18
      • 1970-01-01
      • 2016-09-24
      • 2021-06-30
      • 2021-02-15
      • 2016-07-23
      相关资源
      最近更新 更多