diff options
| author | liv <mokou@fastmail.com> | 2024-03-15 14:36:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-15 14:36:23 +0100 |
| commit | 76acf613c5481bf7bb44d290b7fb340e71e9faad (patch) | |
| tree | 534cbad29caa892d4026ec593491d05cde541e15 /.devcontainer/devcontainer.json | |
| parent | bcb192c707009ab9d9bb06812cb09b9d446ccc11 (diff) | |
| parent | 2966a29449e17eace182c225b3af23fa43af3799 (diff) | |
Merge branch 'main' into main
Diffstat (limited to '.devcontainer/devcontainer.json')
| -rw-r--r-- | .devcontainer/devcontainer.json | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e1b2cec..f25e8bd 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,17 +1,8 @@ { - "image": "mcr.microsoft.com/devcontainers/universal:2-linux", - "waitFor": "onCreateCommand", - "onCreateCommand": ".devcontainer/setup.sh", - "updateContentCommand": "cargo build", - "postCreateCommand": "", - "postAttachCommand": { - "server": "rustlings watch" - }, - "customizations": { - "vscode": { - "extensions": [ - "rust-lang.rust-analyzer" - ] - } + "image": "mcr.microsoft.com/devcontainers/rust:1", + "updateContentCommand": ["cargo", "build"], + "postAttachCommand": ["rustlings", "watch"], + "remoteEnv": { + "PATH": "${containerEnv:PATH}:${containerWorkspaceFolder}/target/debug" } } |
