Move launch.json to .devcontainer and copy on start

This commit is contained in:
Robin Windey 2023-04-06 14:56:54 +00:00 committed by GitHub
parent 296c9beff6
commit 849b7de681
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,9 @@ git submodule update --init
# Codespace config # Codespace config
cp .devcontainer/codespace.config.php config/codespace.config.php 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 # Onetime installation setup
if [[ ! $(sudo -u ${APACHE_RUN_USER} php occ status) =~ installed:[[:space:]]*true ]]; then if [[ ! $(sudo -u ${APACHE_RUN_USER} php occ status) =~ installed:[[:space:]]*true ]]; then
echo "Running NC installation" echo "Running NC installation"

View File

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