Search code examples
swiftxcodelinux-mintswiftlint

I Can use a custom Swiftlint Instalation path on xcode?


I need to install swiftlint with mint on my mac, on the path user/.mint/bin, but xcode dont recognize the installation i can use a custom path xcode swiftlint configuration ?

I added a default image from the conf below. enter image description here


Solution

  • Before checking for swiftlint, your script needs to update the local PATH:

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