Move components from proving-ground
Move all needed components from proving ground to this
repo. Some clean up was done in json files to fix probes
as well as some slight modification to readme.
Change-Id: I05b7f6459704640c4850420a4573d157500d0aff
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/scripts/autojson.py b/scripts/autojson.py
new file mode 100755
index 0000000..e4f2818
--- /dev/null
+++ b/scripts/autojson.py
@@ -0,0 +1,14 @@
+#!/usr/bin/python3
+# all arguments to this script are considered as json files
+# and attempted to be formatted alphabetically
+
+import json
+from sys import argv
+
+for file in argv[1:]:
+ print("formatting file {}".format(file))
+ with open(file) as f:
+ j = json.load(f)
+
+ with open(file, 'w') as f:
+ f.write(json.dumps(j, indent=4, sort_keys=True, separators=(',', ': ')))