We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efdf6c8 commit d974404Copy full SHA for d974404
Runfile
@@ -10,10 +10,17 @@ import 'debug'
10
11
help 'Test the completely JSON schema'
12
action :schema do
13
- file = 'lib/completely/templates/sample.yaml'
14
- command = "check-jsonschema --schemafile schemas/completely.json #{file}"
15
- say "\n$ check-jsonschema bb`#{file}`"
16
- success = system command
17
- exit 1 unless success
+ files = %w[
+ lib/completely/templates/sample.yaml
+ lib/completely/templates/sample-nested.yaml
+ spec/fixtures/complete_options.yaml
+ ]
18
+
19
+ files.each do |file|
20
+ command = "check-jsonschema --schemafile schemas/completely.json #{file}"
21
+ say "\n$ check-jsonschema bb`#{file}`"
22
+ success = system command
23
+ exit 1 unless success
24
+ end
25
end
26
0 commit comments