You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/templates/coderoad.yaml
+5-24
Original file line number
Diff line number
Diff line change
@@ -31,9 +31,8 @@ config:
31
31
# - npm install
32
32
## App versions helps to ensure compatability with the Extension
33
33
appVersions:
34
-
{}
35
34
## Ensure compatability with a minimal VSCode CodeRoad version
36
-
#vscode: '>=0.7.0'
35
+
vscode: ">=0.7.0"
37
36
## Repo information to load code from
38
37
##
39
38
repo:
@@ -62,25 +61,16 @@ levels:
62
61
## Setup for the first task. Required.
63
62
setup:
64
63
## Files to open in a text editor when the task loads. Optional.
65
-
files: []
66
-
# - package.json
67
-
## Commits to load when the task loads. These should include failing tests. Required.
68
-
## The list will be filled by the parser
69
-
commits:
70
-
[]
71
-
# - a commit hash
64
+
files:
65
+
- package.json
72
66
## Solution for the first task. Required.
73
67
solution:
74
68
## Files to open when the solution loads. Optional.
75
-
files: []
76
-
# - package.json
77
-
## Commits that complete the task. All tests should pass when the commits load. These commits will not be loaded by the tutorial user in normal tutorial activity.
78
-
## The list will be filled by the parser
79
-
commits: []
69
+
files:
70
+
- package.json
80
71
## Example Two: Running commands
81
72
- id: L1S2
82
73
setup:
83
-
commits: []
84
74
## CLI commands that are run when the task loads. Optional.
85
75
commands:
86
76
- npm install
@@ -94,27 +84,18 @@ levels:
94
84
setup:
95
85
files:
96
86
- package.json
97
-
commits:
98
-
- commit7
99
87
## Listeners that run tests when a file or directory changes.
100
88
watchers:
101
89
- package.json
102
90
- node_modules/some-package
103
91
solution:
104
92
files:
105
93
- package.json
106
-
commits:
107
-
- commit8
108
94
## Example Four: Subtasks
109
95
- id: L1S4
110
96
setup:
111
-
commits:
112
-
- commit8
113
97
commands:
114
98
## A filter is a regex that limits the test results
115
99
- filter: "^Example 2"
116
100
## A feature that shows subtasks: all filtered active test names and the status of the tests (pass/fail).
0 commit comments