[swift-dev] Override the path to the Swift compiler?

2017-05-30 Thread Jimmy Yue via swift-dev
Hey Swift Devs, Does there happen to be an environment variable, similar to 'CC' for C, that I could use to override the path to the Swift compiler? If so, is there also one for ibtool, metal, etc.? I want to redirect swift calls to a bash script that does some processing before running the origi

[swift-dev] Plans for swift-format?

2017-08-21 Thread Jimmy Yue via swift-dev
Hey Swift team, We’ve been trying to build a linter in-house that can cover most of our rules (https://github.com/linkedin/swift-style-guide). Our current approach for retrieving the AST has been very similar to how your swift-format tool works, but at the moment swift-format is a bit too barebo