mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
fix: Remove exceptions from stages
This commit is contained in:
1 parent
fe69841622
commit
49fb5a6a61
10 files changed
+17
-80
No files matched your search
@@ -9,14 +9,6 @@ requirements:
|
|||||||
- get-started
|
- get-started
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- id: warning-01
|
|
||||||
repeatable: true
|
|
||||||
condition:
|
|
||||||
command:
|
|
||||||
- ' '
|
|
||||||
hints:
|
|
||||||
- '!! 請勿使用全形空格 !!'
|
|
||||||
|
|
||||||
- id: start
|
- id: start
|
||||||
task: 輸入 `echo start` 來開始教程
|
task: 輸入 `echo start` 來開始教程
|
||||||
condition:
|
condition:
|
||||||
@@ -73,3 +65,11 @@ stages:
|
|||||||
- 你成功的在終端機上顯示了 `How are you?`。
|
- 你成功的在終端機上顯示了 `How are you?`。
|
||||||
- 相信你已經了解如何使用 `echo` 指令來顯示文字了。
|
- 相信你已經了解如何使用 `echo` 指令來顯示文字了。
|
||||||
- 之後如果要在終端機顯示文字,記得可以使用 `echo` 指令。
|
- 之後如果要在終端機顯示文字,記得可以使用 `echo` 指令。
|
||||||
|
|
||||||
|
exceptions:
|
||||||
|
- repeatable: true
|
||||||
|
condition:
|
||||||
|
command:
|
||||||
|
- ' '
|
||||||
|
hints:
|
||||||
|
- '!! 請勿使用全形空格 !!'
|
||||||
@@ -9,14 +9,6 @@ requirements:
|
|||||||
- create
|
- create
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- id: warning-01
|
|
||||||
repeatable: true
|
|
||||||
condition:
|
|
||||||
command:
|
|
||||||
- ' '
|
|
||||||
hints:
|
|
||||||
- '!! 請勿使用全形空格 !!'
|
|
||||||
|
|
||||||
- id: start
|
- id: start
|
||||||
task: 輸入 `echo start` 來開始
|
task: 輸入 `echo start` 來開始
|
||||||
condition:
|
condition:
|
||||||
|
|||||||
@@ -10,14 +10,6 @@ requirements:
|
|||||||
- read
|
- read
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- id: warning-01
|
|
||||||
repeatable: true
|
|
||||||
condition:
|
|
||||||
command:
|
|
||||||
- ' '
|
|
||||||
hints:
|
|
||||||
- '!! 請勿使用全形空格 !!'
|
|
||||||
|
|
||||||
- id: start
|
- id: start
|
||||||
task: 輸入 `echo start` 來開始
|
task: 輸入 `echo start` 來開始
|
||||||
condition:
|
condition:
|
||||||
@@ -68,6 +60,7 @@ stages:
|
|||||||
- ➤ 輸入 `cat hello.txt` 來查看 `hello.txt` 檔案的內容
|
- ➤ 輸入 `cat hello.txt` 來查看 `hello.txt` 檔案的內容
|
||||||
|
|
||||||
- id: cat
|
- id: cat
|
||||||
|
task: 使用 `cat` 指令來查看 `hello.txt` 檔案的內容
|
||||||
condition:
|
condition:
|
||||||
command:
|
command:
|
||||||
- ^cat hello.txt$
|
- ^cat hello.txt$
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
exceptions:
|
||||||
|
- id: warning-02
|
||||||
|
repeatable: true
|
||||||
|
condition:
|
||||||
|
command:
|
||||||
|
- '`'
|
||||||
|
hints:
|
||||||
|
- '!! 不需要輸入上下引號 !!'
|
||||||
@@ -10,14 +10,6 @@ requirements:
|
|||||||
- get-started
|
- get-started
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- id: warning-01
|
|
||||||
repeatable: true
|
|
||||||
condition:
|
|
||||||
command:
|
|
||||||
- ' '
|
|
||||||
hints:
|
|
||||||
- '!! 請勿使用全形空格 !!'
|
|
||||||
|
|
||||||
- id: start
|
- id: start
|
||||||
task: 輸入 `echo start` 來開始教程
|
task: 輸入 `echo start` 來開始教程
|
||||||
condition:
|
condition:
|
||||||
|
|||||||
@@ -9,22 +9,6 @@ instruction: |
|
|||||||
請你在終端機中的 `commander:~ $` 後面輸入 `echo start` 並按下 Enter 來開始教程。
|
請你在終端機中的 `commander:~ $` 後面輸入 `echo start` 並按下 Enter 來開始教程。
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- id: warning-01
|
|
||||||
repeatable: true
|
|
||||||
condition:
|
|
||||||
command:
|
|
||||||
- ' '
|
|
||||||
hints:
|
|
||||||
- '!! 請勿使用全形空格 !!'
|
|
||||||
|
|
||||||
- id: warning-02
|
|
||||||
repeatable: true
|
|
||||||
condition:
|
|
||||||
command:
|
|
||||||
- '`'
|
|
||||||
hints:
|
|
||||||
- '!! 不需要輸入上下引號 !!'
|
|
||||||
|
|
||||||
- id: start
|
- id: start
|
||||||
task: 輸入 `echo start` 來開始教程
|
task: 輸入 `echo start` 來開始教程
|
||||||
condition:
|
condition:
|
||||||
|
|||||||
@@ -9,14 +9,6 @@ requirements:
|
|||||||
- create
|
- create
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- id: warning-01
|
|
||||||
repeatable: true
|
|
||||||
condition:
|
|
||||||
command:
|
|
||||||
- ' '
|
|
||||||
hints:
|
|
||||||
- '!! 請勿使用全形空格 !!'
|
|
||||||
|
|
||||||
- id: start
|
- id: start
|
||||||
task: 輸入 `echo start` 來開始
|
task: 輸入 `echo start` 來開始
|
||||||
condition:
|
condition:
|
||||||
|
|||||||
@@ -11,14 +11,6 @@ requirements:
|
|||||||
- explore
|
- explore
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- id: warning-01
|
|
||||||
repeatable: true
|
|
||||||
condition:
|
|
||||||
command:
|
|
||||||
- ' '
|
|
||||||
hints:
|
|
||||||
- '!! 請勿使用全形空格 !!'
|
|
||||||
|
|
||||||
- id: start
|
- id: start
|
||||||
task: 輸入 `echo start` 來開始教程
|
task: 輸入 `echo start` 來開始教程
|
||||||
condition:
|
condition:
|
||||||
|
|||||||
@@ -9,14 +9,6 @@ requirements:
|
|||||||
- path
|
- path
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- id: warning-01
|
|
||||||
repeatable: true
|
|
||||||
condition:
|
|
||||||
command:
|
|
||||||
- ' '
|
|
||||||
hints:
|
|
||||||
- '!! 請勿使用全形空格 !!'
|
|
||||||
|
|
||||||
- id: start
|
- id: start
|
||||||
task: 輸入 `echo start` 來開始教程
|
task: 輸入 `echo start` 來開始教程
|
||||||
condition:
|
condition:
|
||||||
|
|||||||
@@ -13,14 +13,6 @@ requirements:
|
|||||||
- move
|
- move
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- id: warning-01
|
|
||||||
repeatable: true
|
|
||||||
condition:
|
|
||||||
command:
|
|
||||||
- ' '
|
|
||||||
hints:
|
|
||||||
- '!! 請勿使用全形空格 !!'
|
|
||||||
|
|
||||||
- id: start
|
- id: start
|
||||||
task: 輸入 `echo start` 來開始
|
task: 輸入 `echo start` 來開始
|
||||||
condition:
|
condition:
|
||||||
|
|||||||
Reference in new issue
Block a user