summaryrefslogtreecommitdiffstats
path: root/.devcontainer/setup.sh
diff options
context:
space:
mode:
authorRobin Windey <ro.windey@gmail.com>2023-04-06 14:56:54 +0000
committerGitHub <noreply@github.com>2023-04-06 14:57:35 +0000
commit849b7de6816f44213818f118b8110f02193bb283 (patch)
tree0d7098d3325f648a08c2025abb4c83596f71078c /.devcontainer/setup.sh
parent296c9beff6faee4b93160ffd093dfbbc7d55c180 (diff)
downloadnextcloud-server-849b7de6816f44213818f118b8110f02193bb283.tar.gz
nextcloud-server-849b7de6816f44213818f118b8110f02193bb283.zip
Move launch.json to .devcontainer and copy on start
Diffstat (limited to '.devcontainer/setup.sh')
-rwxr-xr-x.devcontainer/setup.sh3
1 files changed, 3 insertions, 0 deletions
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"