From 71b2a5e3cc64f36472f06ab3d807eedf4ad14aec Mon Sep 17 00:00:00 2001 From: jojo Date: Sat, 10 Jan 2026 10:26:31 +0100 Subject: [PATCH] =?UTF-8?q?z=C3=A1kladn=C3=A9=20prostredie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devcontainer/Dockerfile | 8 ++++++++ .devcontainer/devcontainer.json | 17 +++++++++++++++++ README.md | 2 +- 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .devcontainer/Dockerfile create mode 100644 .devcontainer/devcontainer.json 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