Skip to content

Commit 5449714

Browse files
Update devcontainer.json
1 parent bfbf283 commit 5449714

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.devcontainer/devcontainer.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@
44
"customizations": {
55
"vscode": {
66
"extensions": [
7-
"vscjava.vscode-java-pack"
8-
]
7+
"vscjava.vscode-java-pack",
8+
"${containerWorkspaceFolder}/client/liquid-java-0.0.15.vsix"
9+
],
10+
"settings": {
11+
"terminal.integrated.defaultProfile.linux": "bash"
12+
}
913
}
1014
},
1115
"features": {
@@ -14,9 +18,9 @@
1418
},
1519
"ghcr.io/devcontainers/features/git-lfs:1": {}
1620
},
17-
"postCreateCommand": "echo '👉 Starting installation process...' && git lfs install && echo '🔄 Pulling LFS files...' && git lfs pull && echo '📦 Installing extension...' && code --install-extension ./extension/liquid-java-0.0.15.vsix --force && echo '✅ LiquidJava extension installation complete!' && if [ -f 'package.json' ]; then echo '📦 Installing npm dependencies...' && npm install && echo '✅ npm dependencies installed!'; fi",
18-
"postStartCommand": "if [ -d './examples/demo/src/' ]; then echo '📂 Opening examples directory...' && code ./examples/demo/src/ && echo '✅ Examples opened!'; else echo '❌ Examples directory not found'; fi",
21+
"postCreateCommand": "echo '👉 Starting installation process...' > /tmp/setup-log.txt && git lfs install >> /tmp/setup-log.txt 2>&1 && echo '🔄 Pulling LFS files...' >> /tmp/setup-log.txt && git lfs pull >> /tmp/setup-log.txt 2>&1 && echo '📦 Installing extension...' >> /tmp/setup-log.txt && code --install-extension ./extension/liquid-java-0.0.15.vsix --force >> /tmp/setup-log.txt 2>&1 && echo '✅ LiquidJava extension installation complete!' >> /tmp/setup-log.txt",
22+
"postStartCommand": "if [ -d './examples/demo/src/' ]; then echo '📂 Opening examples directory...' >> /tmp/setup-log.txt && code ./examples/demo/src/ >> /tmp/setup-log.txt 2>&1 && echo '✅ Examples opened!' >> /tmp/setup-log.txt; else echo '❌ Examples directory not found' >> /tmp/setup-log.txt; fi",
1923
"postAttachCommand": {
20-
"notifyCompletion": "echo '\n\n==========================================\n🎉 SETUP COMPLETE: LiquidJava Extension Development Environment is ready!\n==========================================\n'"
24+
"notifyCompletion": "echo '\n\n==========================================\n🎉 SETUP COMPLETE: LiquidJava Extension Development Environment is ready!\n==========================================\n' && echo '\nSetup log:' && cat /tmp/setup-log.txt"
2125
}
2226
}

0 commit comments

Comments
 (0)