From 90024842ae1ee56516aefd5d474003f39f14afb5 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Mon, 11 Nov 2019 16:00:14 +0100 Subject: [PATCH] Script to validate game files --- bin/validate-game.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 bin/validate-game.sh diff --git a/bin/validate-game.sh b/bin/validate-game.sh new file mode 100755 index 0000000..7855a8c --- /dev/null +++ b/bin/validate-game.sh @@ -0,0 +1,5 @@ +#!/bin/sh +# Validate an OUYA game schema file with several validators +set -e +jsonschema -i "$1" ouya-game.schema.json +validate-json "$1" ouya-game.schema.json -- 2.30.2