Fix vars format in shiny and towers-of-hanoi formulas (gt-8tmz)
This commit is contained in:
@@ -3,8 +3,13 @@
|
||||
"description": "Engineer in a Box - the canonical right way. Design before you code. Review before you ship. Test before you submit.",
|
||||
"version": 1,
|
||||
"vars": {
|
||||
"feature": "{{feature}}",
|
||||
"assignee": "{{assignee}}"
|
||||
"feature": {
|
||||
"description": "The feature being implemented",
|
||||
"required": true
|
||||
},
|
||||
"assignee": {
|
||||
"description": "Who is assigned to this work"
|
||||
}
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
|
||||
@@ -3,10 +3,22 @@
|
||||
"description": "Solve Towers of Hanoi for {disks} disks. Generates 2^{disks} - 1 steps, each a trivial move operation. Demonstrates mechanical structure generation for arbitrarily long workflows.",
|
||||
"version": 1,
|
||||
"vars": {
|
||||
"disks": "{{disks}}",
|
||||
"source_peg": "A",
|
||||
"target_peg": "C",
|
||||
"auxiliary_peg": "B"
|
||||
"disks": {
|
||||
"description": "Number of disks to solve",
|
||||
"required": true
|
||||
},
|
||||
"source_peg": {
|
||||
"description": "Starting peg",
|
||||
"default": "A"
|
||||
},
|
||||
"target_peg": {
|
||||
"description": "Target peg",
|
||||
"default": "C"
|
||||
},
|
||||
"auxiliary_peg": {
|
||||
"description": "Helper peg",
|
||||
"default": "B"
|
||||
}
|
||||
},
|
||||
"generate": {
|
||||
"for-each": {
|
||||
|
||||
Reference in New Issue
Block a user