Skip to content

Commit b437a63

Browse files
committed
add run schema example EXAMPLE to test a single example against the schema
1 parent f45b993 commit b437a63

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

support/runfile/schema.runfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ action :all do
88
check_arbitrary
99
end
1010

11+
help 'Test the bashly schema against a single example'
12+
usage 'example EXAMPLE'
13+
action(:example) { |args| schema_check "examples/#{args['EXAMPLE']}/src/bashly.yml" }
14+
1115
help 'Test the bashly schema against all examples'
1216
action(:examples) { check_examples }
1317

0 commit comments

Comments
 (0)