Skip to content

Commit e5580be

Browse files
committed
codespace: add task for xlings checker
1 parent f83a8fe commit e5580be

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@
1212
}
1313
},
1414
"remoteUser": "vscode",
15-
"postCreateCommand": "/bin/bash .devcontainer/postCreate.sh"
15+
"postCreateCommand": "/bin/bash .devcontainer/postCreate.sh",
16+
"postAttachCommand": "xlings checker"
1617
}

.devcontainer/postCreate.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,4 @@ if ! command -v xlings >/dev/null 2>&1; then
99
curl -fsSL https://d2learn.org/xlings-install.sh | bash
1010
fi
1111

12-
source ~/.bashrc
13-
14-
xlings checker
12+
echo "xlings installed"

0 commit comments

Comments
 (0)