mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 14:13:58 +08:00
aaf05c4dc9
Use the name `validate` instead of `schema` for the utility. Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
17 lines
324 B
Makefile
17 lines
324 B
Makefile
|
|
default: help
|
|
|
|
help:
|
|
@echo "Usage: make <target>"
|
|
@echo
|
|
@echo " * 'fmt' - format the json with indentation"
|
|
@echo " * 'validate' - build the validation tool"
|
|
|
|
fmt:
|
|
for i in *.json ; do jq --indent 4 -M . "$${i}" > xx && cat xx > "$${i}" && rm xx ; done
|
|
|
|
validate: validate.go
|
|
go get -d ./...
|
|
go build ./validate.go
|
|
|