File tree Expand file tree Collapse file tree 4 files changed +24
-8
lines changed
Expand file tree Collapse file tree 4 files changed +24
-8
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11summary 'Run json-schema checks on all examples'
22
3- help 'Run all the actions in this runfile'
3+ help 'Generate the bashly.json schema from the bashly.yml template'
4+ action :generate do
5+ cmd = 'yq -p yaml -o json support/schema/bashly.yml > schemas/bashly.json'
6+ say "gb`$` #{cmd}"
7+ success = system cmd
8+ abort 'Failed' unless success
9+ end
10+
11+ help 'Run all the test actions in this runfile'
412action :all do
513 check_examples
614 check_settings
Original file line number Diff line number Diff line change 1+ This is the source file for the ` schemas/bashly.json ` schema.
2+
3+ To regenerate the bashly.json schema, simply run:
4+
5+ ```
6+ $ run scheme generate
7+ ```
8+
9+ from the root directory of the project.
10+
11+ Alternatively, run the ` yq ` command directly:
12+
13+ ```
14+ $ yq -p yaml -o json support/schema/bashly.yml > schemas/bashly.json
15+ ```
File renamed without changes.
You can’t perform that action at this time.
0 commit comments