dev: add basic devcontainer settings file

Theses settings files are the base needed to declare and
bootstrap development environment on codespaces

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
pull/1399/head
Emmanuel Roullit 2 years ago
parent e3af483fa6
commit f94f365e14

@ -0,0 +1,17 @@
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"waitFor": "onCreateCommand",
"onCreateCommand": ".devcontainer/setup.sh",
"updateContentCommand": "cargo build",
"postCreateCommand": "",
"postAttachCommand": {
"server": "rustlings watch"
},
"customizations": {
"vscode": {
"extensions": [
"rust-lang.rust-analyzer"
]
}
}
}

@ -0,0 +1,4 @@
#!/bin/bash
curl https://sh.rustup.rs -sSf | sh -s -- -y
rustup install stable
bash install.sh
Loading…
Cancel
Save