]> source.dussan.org Git - nextcloud-server.git/commitdiff
Move launch.json to .devcontainer and copy on start 37521/head
authorRobin Windey <ro.windey@gmail.com>
Thu, 6 Apr 2023 14:56:54 +0000 (14:56 +0000)
committerGitHub <noreply@github.com>
Thu, 6 Apr 2023 14:57:35 +0000 (14:57 +0000)
.devcontainer/launch.json [new file with mode: 0644]
.devcontainer/setup.sh
.vscode/launch.json [deleted file]
build/files-checker.php

diff --git a/.devcontainer/launch.json b/.devcontainer/launch.json
new file mode 100644 (file)
index 0000000..8103dd2
--- /dev/null
@@ -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
+        }
+    ]
+}
index aac1f82f0839c69127d376f0d0f98f77bf7f4fb0..3485d4f7257c63a35384398b3bb86980f528859c 100755 (executable)
@@ -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 (file)
index 8103dd2..0000000
+++ /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
-        }
-    ]
-}
index 8efdc92eab8aaa8255364c5e51392f3e469e087f..309277188114008a46818a03c2b8583cdf8f405c 100644 (file)
@@ -44,7 +44,6 @@ $expectedFiles = [
        '.tag',
        '.tx',
        '.user.ini',
-       '.vscode',
        '3rdparty',
        'AUTHORS',
        'CHANGELOG.md',