swiftlang / vscode-swift

Visual Studio Code Extension for Swift
https://marketplace.visualstudio.com/items?itemName=sswg.swift-lang
Apache License 2.0
709 stars 47 forks source link

Setup cwd correctly for plugin tasks #786

Closed adam-fowler closed 1 month ago

adam-fowler commented 1 month ago

There are two different current working folders in a Swift Plugin task. One is the one inside the tasks definition. This should always be relative to the workspace folder, so the task.json can be shared across multiple machines. The other is the actual current working folder to run the executable in.

This PR splits the two.