Skip to content

Commit bcc115e

Browse files
authored
Merge pull request #158 from jonboulle/master
Makefile: fix fmt target and format json files
2 parents 5ca671c + 16879e9 commit bcc115e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ help:
2727
@echo " * 'validate' - build the validation tool"
2828

2929
fmt:
30-
for i in *.json ; do jq --indent 2 -M . "$${i}" > xx && cat xx > "$${i}" && rm xx ; done
30+
for i in schema/*.json ; do jq --indent 2 -M . "$${i}" > xx && cat xx > "$${i}" && rm xx ; done
3131

3232
docs: $(OUTPUT)/$(DOC_FILENAME).pdf $(OUTPUT)/$(DOC_FILENAME).html
3333

schema/config-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"$ref": "defs-config.json#/definitions/rootfs"
2525
},
2626
"history": {
27-
"type": "array",
27+
"type": "array",
2828
"items": {
2929
"$ref": "defs-config.json#/definitions/history"
3030
}

schema/defs-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"properties": {
6565
"created": {
6666
"type": "string",
67-
"format": "date-time"
67+
"format": "date-time"
6868
},
6969
"author": {
7070
"type": "string"

0 commit comments

Comments
 (0)