From: Robin Windey Date: Thu, 6 Apr 2023 14:56:54 +0000 (+0000) Subject: Move launch.json to .devcontainer and copy on start X-Git-Tag: v27.0.0beta1~193^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=849b7de6816f44213818f118b8110f02193bb283;p=nextcloud-server.git Move launch.json to .devcontainer and copy on start --- diff --git a/.devcontainer/launch.json b/.devcontainer/launch.json new file mode 100644 index 00000000000..8103dd29461 --- /dev/null +++ b/.devcontainer/launch.json @@ -0,0 +1,14 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Listen for Xdebug", + "type": "php", + "request": "launch", + "port": 9003 + } + ] +} 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/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index 8103dd29461..00000000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Listen for Xdebug", - "type": "php", - "request": "launch", - "port": 9003 - } - ] -} 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',