mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
fix(installation): cargo path in devcontainer commands
This commit is contained in:
parent
b0ddf4d704
commit
5baa7c2d62
|
@ -2,10 +2,10 @@
|
||||||
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",
|
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",
|
||||||
"waitFor": "onCreateCommand",
|
"waitFor": "onCreateCommand",
|
||||||
"onCreateCommand": ".devcontainer/setup.sh",
|
"onCreateCommand": ".devcontainer/setup.sh",
|
||||||
"updateContentCommand": "cargo build",
|
"updateContentCommand": ". $HOME/.cargo/env && cargo build",
|
||||||
"postCreateCommand": "",
|
"postCreateCommand": "",
|
||||||
"postAttachCommand": {
|
"postAttachCommand": {
|
||||||
"server": "rustlings watch"
|
"server": ". $HOME/.cargo/env && rustlings watch"
|
||||||
},
|
},
|
||||||
"customizations": {
|
"customizations": {
|
||||||
"vscode": {
|
"vscode": {
|
||||||
|
|
Loading…
Reference in a new issue