SolaWing / xcode-build-server

a build server protocol implementation for integrate xcode with sourcekit-lsp
MIT License
283 stars 16 forks source link

Does this works with bazel? #48

Closed marcelodeaguiar closed 1 month ago

marcelodeaguiar commented 2 months ago

If not, what would be needed to make it work?

From my understanding this uses xcode build log. What information would Bazel build log need so we can do the same?

SolaWing commented 2 months ago

xcode-build-server extract module or file compile command like swiftc or clang from xcodebuild log, and save it to .compile file. you can see .compile file and if you can generate the same file, xcode-build-server can works for sourcekit-lsp too. bazel may has command directly get the compile command so you can generate .compile file directly. even not need to really compile. But if you can not get the compile command directly, you can give the sample build log and I will know how to parse it