@@ -52,14 +52,25 @@ export default {
52
52
description : "An optional folder for the test runner" ,
53
53
examples : [ "coderoad" ] ,
54
54
} ,
55
- setup : {
56
- $ref : "#/definitions/setup_action_without_commits" ,
57
- description :
58
- "Setup actions or commands used for setting up the test runner on tutorial launch" ,
59
- } ,
60
55
} ,
61
56
required : [ "command" , "args" ] ,
62
57
} ,
58
+ setup : {
59
+ type : "object" ,
60
+ description :
61
+ "Setup commits or commands used for setting up the test runner on tutorial launch" ,
62
+ properties : {
63
+ commits : {
64
+ $ref : "#/definitions/commit_array" ,
65
+ } ,
66
+ commands : {
67
+ $ref : "#/definitions/command_array" ,
68
+ } ,
69
+ vscodeCommands : {
70
+ $ref : "#/definitions/vscode_command_array" ,
71
+ } ,
72
+ } ,
73
+ } ,
63
74
repo : {
64
75
type : "object" ,
65
76
description : "The repo holding the git commits for the tutorial" ,
@@ -84,10 +95,11 @@ export default {
84
95
type : "object" ,
85
96
description : "Configuration options for resetting a tutorial" ,
86
97
properties : {
87
- command : {
88
- type : "string" ,
89
- description : "An optional command to run on reset" ,
90
- examples : [ "npm install" ] ,
98
+ commands : {
99
+ $ref : "#/definitions/command_array" ,
100
+ } ,
101
+ vscodeCommands : {
102
+ $ref : "#/definitions/vscode_command_array" ,
91
103
} ,
92
104
} ,
93
105
additionalProperties : false ,
0 commit comments