| { | |
| "image": "ghcr.io/cheriot-platform/devcontainer:latest", | |
| "remoteUser": "cheriot", | |
| "containerUser": "cheriot", | |
| "onCreateCommand": "git config --global --add safe.directory /workspaces/cheriot-rtos && git submodule init && git submodule update && cd tests && xmake f --sdk=/cheriot-tools/ && xmake project -k compile_commands .. && cd .. && for I in ex*/[[:digit:]]* ; do echo $I ; cd $I ; xmake f --sdk=/cheriot-tools/ && xmake project -k compile_commands . && cd ../.. ; done", | |
| "customizations": { | |
| "vscode": { | |
| "extensions": [ | |
| "llvm-vs-code-extensions.vscode-clangd", | |
| "tboox.xmake-vscode", | |
| "hnw.vscode-auto-open-markdown-preview" | |
| ], | |
| "settings": { | |
| "clangd.path": "/cheriot-tools/bin/clangd", | |
| "xmake.compileCommandsDirectory": "${workspaceRoot}", | |
| "xmake.workingDirectory": "${workspaceRoot}/tests", | |
| "xmake.additionalConfigArguments": "--sdk=/cheriot-tools/" | |
| } | |
| } | |
| } | |
| } | |