From 849b7de6816f44213818f118b8110f02193bb283 Mon Sep 17 00:00:00 2001 From: Robin Windey Date: Thu, 6 Apr 2023 14:56:54 +0000 Subject: [PATCH] Move launch.json to .devcontainer and copy on start --- {.vscode => .devcontainer}/launch.json | 0 .devcontainer/setup.sh | 3 +++ build/files-checker.php | 1 - 3 files changed, 3 insertions(+), 1 deletion(-) rename {.vscode => .devcontainer}/launch.json (100%) diff --git a/.vscode/launch.json b/.devcontainer/launch.json similarity index 100% rename from .vscode/launch.json rename to .devcontainer/launch.json diff --git a/.devcontainer/setup.sh b/.devcontainer/setup.sh index aac1f82f083..3485d4f7257 100755 --- a/.devcontainer/setup.sh +++ b/.devcontainer/setup.sh @@ -12,6 +12,9 @@ git submodule update --init # Codespace config cp .devcontainer/codespace.config.php config/codespace.config.php +# VSCode debugger profile +mkdir -p .vscode && cp .devcontainer/launch.json .vscode/launch.json + # Onetime installation setup if [[ ! $(sudo -u ${APACHE_RUN_USER} php occ status) =~ installed:[[:space:]]*true ]]; then echo "Running NC installation" diff --git a/build/files-checker.php b/build/files-checker.php index 8efdc92eab8..30927718811 100644 --- a/build/files-checker.php +++ b/build/files-checker.php @@ -44,7 +44,6 @@ $expectedFiles = [ '.tag', '.tx', '.user.ini', - '.vscode', '3rdparty', 'AUTHORS', 'CHANGELOG.md',