From 26e6f9b28a14aa793f1dc92cd456f0a75dede39e Mon Sep 17 00:00:00 2001 From: aholstrup1 Date: Mon, 6 Jan 2025 15:21:07 +0100 Subject: [PATCH] devcontainer --- .devcontainer/devcontainer.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 000000000..b91f5f816 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,30 @@ +{ + "image": "mcr.microsoft.com/devcontainers/universal:2", + "tasks": { + "build": "Write-Host 'Not Supported'", + "test": "pwsh -Command \". (Join-Path \".\" \"Tests/runtests.ps1\")\"", + "run": "Write-Host 'Not Supported'" + }, + "settings": { + "terminal.integrated.defaultProfile.linux": "pwsh" + }, + "features": { + "ghcr.io/devcontainers/features/powershell:1": { + "modules": "BcContainerHelper" + }, + "ghcr.io/devcontainers/features/github-cli:1": {} + }, + "customizations": { + "vscode": { + "extensions": [ + "GitHub.copilot", + "GitHub.copilot-chat", + "GitHub.vscode-github-actions", + "ms-vscode.powershell", + "github.vscode-pull-request-github", + "github.vscode-codeql" + ] + } + }, + "postCreateCommand": "Import-Module BCContainerHelper && pip install pre-commit && pre-commit install --install-hooks --overwrite" + } \ No newline at end of file