Skip to content

Commit 98aaec7

Browse files
committed
fix online code-exercise issue, and optimize readme
1 parent bf1d0ff commit 98aaec7

File tree

6 files changed

+12
-1
lines changed

6 files changed

+12
-1
lines changed

.devcontainer/postCreate.sh

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

12-
echo "xlings installed"
12+
echo "xlings installed"
13+
14+
echo "Installing dependencies (d2x) by xlings..."
15+
16+
xlings install --verbose
17+
18+
echo "Dependencies installed"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ irm https://d2learn.org/xlings-install.ps1.txt | iex
6767
</details>
6868

6969
```bash
70+
xlings install d2x -y
7071
d2x install d2mcpp
7172
cd d2mcpp
7273
d2x checker

README.zh.hant.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ irm https://d2learn.org/xlings-install.ps1.txt | iex
6767
</details>
6868

6969
```bash
70+
xlings install d2x -y
7071
d2x install d2mcpp
7172
cd d2mcpp
7273
d2x checker

README.zh.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ irm https://d2learn.org/xlings-install.ps1.txt | iex
6767
</details>
6868

6969
```bash
70+
xlings install d2x -y
7071
d2x install d2mcpp
7172
cd d2mcpp
7273
d2x checker

book/en/src/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ irm https://d2learn.org/xlings-install.ps1.txt | iex
6363
</details>
6464

6565
```bash
66+
xlings install d2x -y
6667
d2x install d2mcpp
6768
cd d2mcpp
6869
d2x checker

book/src/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ irm https://d2learn.org/xlings-install.ps1.txt | iex
6363
</details>
6464

6565
```bash
66+
xlings install d2x -y
6667
d2x install d2mcpp
6768
cd d2mcpp
6869
d2x checker

0 commit comments

Comments
 (0)