Skip to content

Commit 11dbc7d

Browse files
committed
Update devcontainer configuration to include JTL Syllabus extension and enhance post-creation script
1 parent 6c21832 commit 11dbc7d

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
"ms-python.python",
4848
"ms-python.debugpy",
4949
"ms-python.isort",
50-
"ms-toolsai.jupyter"
50+
"ms-toolsai.jupyter",
51+
"https://github.com/league-infrastructure/league-vscode-ext/releases/download/v1.20250530.2/jtl-syllabus-v1.20250530.2.vsix"
5152
],
5253
"settings": {
5354
"python.defaultInterpreterPath": "/usr/local/bin/python",
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
echo "Installing VS Code extensions..."
4+
code --install-extension "/vscode/extensionsCache/jtl-syllabus.vsix"
5+
echo "Done!"

.devcontainer/postCreateCommand.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
#! /usr/bin/bash
1+
#!/bin/bash
22

3-
ext_url='https://github.com/league-infrastructure/league-vscode-ext/releases/download/v1.20250530.1/jtl-syllabus-v1.20250530.1.vsix'
3+
ext_url='https://github.com/league-infrastructure/league-vscode-ext/releases/download/v1.20250530.2/jtl-syllabus-v1.20250530.2.vsix'
44
ext_path=/vscode/extensionsCache/jtl-syllabus.vsix
55

6+
# Download the extension
67
curl -L -o "$ext_path" "$ext_url"
78
if [ -f "$ext_path" ]; then
8-
echo "Installing JTL Syllabus extension..."
9-
code --install-extension "$ext_path"
9+
echo "Downloaded JTL Syllabus extension to $ext_path"
10+
1011
else
1112
echo "Failed to download JTL Syllabus extension."
1213
fi
1314

15+
# Install the Python package regardless
1416
pipx install jtl-syllabus

0 commit comments

Comments
 (0)