From b3e9bd52a39fad60b326bbfc343f89f9a27a912f Mon Sep 17 00:00:00 2001 From: Ferdinand Keller Date: Thu, 1 Aug 2024 18:20:57 +0000 Subject: [PATCH 1/3] added files.exclude settings to hide unecessary clutter --- .vscode/settings.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..fe76a7dcb --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,12 @@ +{ + "files.exclude": { + "**/.git": true, + "**/.svn": true, + "**/.hg": true, + "**/CVS": true, + "**/.DS_Store": true, + "**/Thumbs.db": true, + "target/": true, + "Cargo.lock": true + } +} \ No newline at end of file From 4723e94fe56a940b67313a1a5574916c3d093592 Mon Sep 17 00:00:00 2001 From: Ferdinand Keller Date: Thu, 1 Aug 2024 18:21:25 +0000 Subject: [PATCH 2/3] added devcontainer configuration --- .devcontainer/devcontainer.json | 19 +++++++++++++++++++ .github/dependabot.yml | 12 ++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 .devcontainer/devcontainer.json create mode 100644 .github/dependabot.yml diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 000000000..5fba1928b --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,19 @@ +{ + "name": "Pumpkin", + "image": "mcr.microsoft.com/devcontainers/base:noble", + "features": { + "ghcr.io/devcontainers/features/rust:1": {} + }, + "mounts": [ + // mount SSH config & public keys from host to enable SSH-based Git remotes + "source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/vscode/.ssh,readonly,type=bind" + ], + "customizations": { + "vscode": { + "extensions": [ + "eamodio.gitlens", + "Swellaby.rust-pack" + ] + } + } +} \ No newline at end of file diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..f33a02cd1 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for more information: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates +# https://containers.dev/guide/dependabot + +version: 2 +updates: + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: weekly From e42eae0df9edd281c0499b70c62528f39c492ae5 Mon Sep 17 00:00:00 2001 From: Ferdinand Keller Date: Thu, 1 Aug 2024 18:26:11 +0000 Subject: [PATCH 3/3] added forwarding of server port --- .devcontainer/devcontainer.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 5fba1928b..449639e86 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -8,6 +8,9 @@ // mount SSH config & public keys from host to enable SSH-based Git remotes "source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/vscode/.ssh,readonly,type=bind" ], + "forwardPorts": [ + 25565 + ], "customizations": { "vscode": { "extensions": [