File tree Expand file tree Collapse file tree 4 files changed +74
-73
lines changed Expand file tree Collapse file tree 4 files changed +74
-73
lines changed Original file line number Diff line number Diff line change 1- ## L1 Subtask Example
1+ # Subtask Demo
22
3- > Subtask Example
3+ A demo demonstrating how to use subtasks
4+
5+ ## 1. Subtask Example
46
57A subtask example
68
7- ### L1S1 step 1
9+ ### 1. 1
810
911Create a function ` add ` that can take a variety of params.
Original file line number Diff line number Diff line change 11version : " 0.1.0"
2- summary :
3- title : " Subtask Demo"
4- description : " An example of subtasks in CodeRoad"
52config :
63 testRunner :
74 command : ./node_modules/.bin/mocha
85 args :
96 filter : --grep
107 tap : --reporter=mocha-tap-reporter
11- director : .coderoad
8+ directory : .coderoad
129 setup :
13- commits : 410bd4f
14- commands : npm install
10+ commands :
11+ - npm install
1512 repo :
1613 uri : https://github.com/shmck/coderoad-tutorial-subtask-demo
1714 branch : v0.1.0
1815 dependencies :
1916 - name : node
2017 version : " >=10"
2118levels :
22- - id : L1
23- config : {}
19+ - id : ' 1'
2420 steps :
25- - id : L1S1
21+ - id : ' 1.1 '
2622 setup :
2723 files :
2824 - src/add.js
29- commits : []
30- solution :
31- files :
32- - src/add.js
33- commits : []
25+ subtasks : true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ {
2+ "version" : " 0.1.0" ,
3+ "summary" : {
4+ "title" : " Subtask Demo" ,
5+ "description" : " A demo demonstrating how to use subtasks"
6+ },
7+ "config" : {
8+ "testRunner" : {
9+ "command" : " ./node_modules/.bin/mocha" ,
10+ "args" : {
11+ "filter" : " --grep" ,
12+ "tap" : " --reporter=mocha-tap-reporter"
13+ },
14+ "directory" : " .coderoad" ,
15+ "setup" : {
16+ "commands" : [
17+ " npm install"
18+ ],
19+ "commits" : [
20+ " 6823241497effb41f5924bc28313b968fead8cae"
21+ ]
22+ }
23+ },
24+ "repo" : {
25+ "uri" : " https://github.com/shmck/coderoad-tutorial-subtask-demo" ,
26+ "branch" : " v0.1.0"
27+ },
28+ "dependencies" : [
29+ {
30+ "name" : " node" ,
31+ "version" : " >=10"
32+ }
33+ ]
34+ },
35+ "levels" : [
36+ {
37+ "id" : " 1" ,
38+ "title" : " Subtask Example" ,
39+ "summary" : " A subtask example" ,
40+ "content" : " A subtask example" ,
41+ "steps" : [
42+ {
43+ "id" : " 1.1" ,
44+ "setup" : {
45+ "files" : [
46+ " src/add.js"
47+ ],
48+ "subtasks" : true ,
49+ "commits" : [
50+ " 0bde1bba25110cf6b3aa5dd85f2977270d36390e"
51+ ]
52+ },
53+ "content" : " Create a function `add` that can take a variety of params." ,
54+ "solution" : {
55+ "commits" : [
56+ " 661b412f71003e44ce2d7f86fb52959a2cf2a536"
57+ ]
58+ }
59+ }
60+ ]
61+ }
62+ ]
63+ }
You can’t perform that action at this time.
0 commit comments