nokeedev / gradle-native

The home of anything about Gradle support for natively compiled languages

Home Page:https://nokee.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resolve `DEVELOPER_DIR` from environment variable first before forking `xcode-select`

lacasseio opened this issue · comments

As a developer using Xcode, I want to approximate the result of xcode-select --print-path by first looking at the DEVELOPER_DIR environment variable to avoid the inefficiency of process forking.

Acceptance Criteria

  • Given DEVELOPER_DIR environment variable when querying Xcode installation's developer directory, then returns the value of DEVELOPER_DIR.
  • Given no DEVELOPER_DIR environment variable when querying Xcode installation's developer directory, then fork xcode-select --print-path.