aboutsummaryrefslogtreecommitdiff
path: root/tools/windows
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2014-05-07 19:13:23 +0200
committermontellese <montellese@xbmc.org>2014-05-09 22:58:37 +0200
commit5d70539aeb4aeb651e01f4eae34763f7aa2b2061 (patch)
tree1290b19222644674b4d3451524dbcd7cc833049f /tools/windows
parent0ca90288adbbb7b8b3aaed4adbc0e5b0b0a82658 (diff)
[win32] add JsonSchemaBuilder.bat to the windows specific build tools
Diffstat (limited to 'tools/windows')
-rw-r--r--tools/windows/JsonSchemaBuilder.bat12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/windows/JsonSchemaBuilder.bat b/tools/windows/JsonSchemaBuilder.bat
new file mode 100644
index 0000000000..b80d6f3008
--- /dev/null
+++ b/tools/windows/JsonSchemaBuilder.bat
@@ -0,0 +1,12 @@
+@ECHO OFF
+
+SET cur_dir=%CD%
+
+SET base_dir=%cur_dir%\..\..
+SET bin_dir=%cur_dir%\..\BuildDependencies\bin\json-rpc
+SET jsonrpc_path=%base_dir%\xbmc\interfaces\json-rpc
+SET jsonrpc_schema_path=%jsonrpc_path%\schema
+SET output=ServiceDescription.h
+
+"%bin_dir%\JsonSchemaBuilder.exe" "%jsonrpc_schema_path%\version.txt" "%jsonrpc_schema_path%\license.txt" "%jsonrpc_schema_path%\methods.json" "%jsonrpc_schema_path%\types.json" "%jsonrpc_schema_path%\notifications.json"
+MOVE /Y %output% "%jsonrpc_path%\%output%" \ No newline at end of file