diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..904fccd --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,8 @@ +# Základný oficiálny Rust image +FROM rust:1.92 + +# Inštalácia doplnkových nástrojov +RUN rustup component add rustfmt clippy + +# Vytvorenie pracovného adresára +WORKDIR /workspace diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..b55226b --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,17 @@ +{ + "name": "RustDev", + "build": { + "dockerfile": "Dockerfile" + }, + "workspaceFolder": "/workspace", + "customizations": { + "vscode": { + "extensions": [ + "rust-lang.rust-analyzer" + ], + "settings": { + "editor.formatOnSave": true + } + } + } +} diff --git a/README.md b/README.md index adea80c..3883e09 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -Readme \ No newline at end of file +Základné dev prostredie rust \ No newline at end of file