Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5dd69ce

Browse files
committed
remove commit validation in skeleton
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
1 parentb0d2369 commit5dd69ce

File tree

2 files changed

+43
-8
lines changed

2 files changed

+43
-8
lines changed

‎src/schema/meta.ts

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,40 @@ export default {
9595
},
9696
additionalProperties:false,
9797
},
98+
setup_action_without_commits:{
99+
type:"object",
100+
description:
101+
"A collection of files/commands that run when a level/step or solution is loaded",
102+
properties:{
103+
files:{
104+
$ref:"#/definitions/file_array",
105+
},
106+
commands:{
107+
$ref:"#/definitions/command_array",
108+
},
109+
watchers:{
110+
type:"array",
111+
items:{
112+
$ref:"#/definitions/file_path",
113+
// uniqueItems: true,
114+
},
115+
description:
116+
"An array file paths that, when updated, will trigger the test runner to run",
117+
},
118+
filter:{
119+
type:"string",
120+
description:
121+
"A regex pattern that will be passed to the test runner to limit the number of tests running",
122+
examples:["^TestSuiteName"],
123+
},
124+
subtasks:{
125+
type:"boolean",
126+
description:
127+
'A feature that shows subtasks: all active test names and the status of the tests (pass/fail). Use together with "filter"',
128+
examples:[true],
129+
},
130+
},
131+
additionalProperties:false,
132+
},
98133
},
99134
};

‎src/schema/skeleton.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ export default {
5353
examples:["coderoad"],
5454
},
5555
setup:{
56-
$ref:"#/definitions/setup_action",
56+
$ref:"#/definitions/setup_action_without_commits",
5757
description:
58-
"Setupcommits or commands used for setting up the test runner on tutorial launch",
58+
"Setupactions or commands used for setting up the test runner on tutorial launch",
5959
},
6060
},
6161
required:["command","args"],
@@ -135,9 +135,9 @@ export default {
135135
examples:["L1","L11"],
136136
},
137137
setup:{
138-
$ref:"#/definitions/setup_action",
138+
$ref:"#/definitions/setup_action_without_commits",
139139
description:
140-
"An optional point forloading commits, running commands or opening files",
140+
"An optional point forrunning actions, commands or opening files",
141141
},
142142
steps:{
143143
type:"array",
@@ -152,18 +152,18 @@ export default {
152152
setup:{
153153
allOf:[
154154
{
155-
$ref:"#/definitions/setup_action",
155+
$ref:"#/definitions/setup_action_without_commits",
156156
description:
157-
"A point forloading commits. It can also runcommands and/oropen files",
157+
"A point forrunning actions,commands and/oropening files",
158158
},
159159
],
160160
},
161161
solution:{
162162
allOf:[
163163
{
164-
$ref:"#/definitions/setup_action",
164+
$ref:"#/definitions/setup_action_without_commits",
165165
description:
166-
"The solutioncommits thatcan be loaded if the user gets stuck. It canalsorun commands and/or open files",
166+
"The solution can be loaded if the user gets stuck. It can run actions, commands and/or open files",
167167
},
168168
{
169169
required:[],

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp