mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
This means that users of SourceKit-LSP’s background indexing don’t need to add another directory to their `.gitignore`.
31 lines
896 B
JSON
31 lines
896 B
JSON
// Reference: https://containers.dev/implementors/json_reference/
|
|
{
|
|
"name": "SourceKit-LSP",
|
|
"dockerFile": "Dockerfile",
|
|
|
|
// Allow the processes in the container to attach a debugger
|
|
"capAdd": [ "SYS_PTRACE" ],
|
|
"securityOpt": [ "seccomp=unconfined" ],
|
|
|
|
"mounts": [
|
|
// Use a named volume for the build products for optimal performance (https://code.visualstudio.com/remote/advancedcontainers/improve-performance#_use-a-targeted-named-volume)
|
|
"source=${localWorkspaceFolderBasename}-build,target=${containerWorkspaceFolder}/.build,type=volume"
|
|
],
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"sswg.swift-lang"
|
|
],
|
|
"settings": {
|
|
"lldb.library": "/usr/lib/liblldb.so",
|
|
"swift.buildArguments": [
|
|
"-Xcxx",
|
|
"-I/usr/lib/swift",
|
|
"-Xcxx",
|
|
"-I/usr/lib/swift/Block"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|