Browse Source

Move launch.json to .devcontainer and copy on start

tags/v27.0.0beta1
Robin Windey 1 year ago
parent
commit
849b7de681
No account linked to committer's email address
3 changed files with 3 additions and 1 deletions
  1. 0
    0
      .devcontainer/launch.json
  2. 3
    0
      .devcontainer/setup.sh
  3. 0
    1
      build/files-checker.php

.vscode/launch.json → .devcontainer/launch.json View File


+ 3
- 0
.devcontainer/setup.sh View File

@@ -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"

+ 0
- 1
build/files-checker.php View File

@@ -44,7 +44,6 @@ $expectedFiles = [
'.tag',
'.tx',
'.user.ini',
'.vscode',
'3rdparty',
'AUTHORS',
'CHANGELOG.md',

Loading…
Cancel
Save