@@ -52,14 +52,25 @@ export default {
5252              description : "An optional folder for the test runner" , 
5353              examples : [ "coderoad" ] , 
5454            } , 
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-             } , 
6055          } , 
6156          required : [ "command" ,  "args" ] , 
6257        } , 
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+         } , 
6374        repo : { 
6475          type : "object" , 
6576          description : "The repo holding the git commits for the tutorial" , 
@@ -84,10 +95,11 @@ export default {
8495          type : "object" , 
8596          description : "Configuration options for resetting a tutorial" , 
8697          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" , 
91103            } , 
92104          } , 
93105          additionalProperties : false , 
0 commit comments