diff options
author | montellese <montellese@xbmc.org> | 2014-05-07 19:13:23 +0200 |
---|---|---|
committer | montellese <montellese@xbmc.org> | 2014-05-09 22:58:37 +0200 |
commit | 5d70539aeb4aeb651e01f4eae34763f7aa2b2061 (patch) | |
tree | 1290b19222644674b4d3451524dbcd7cc833049f /tools/windows | |
parent | 0ca90288adbbb7b8b3aaed4adbc0e5b0b0a82658 (diff) |
[win32] add JsonSchemaBuilder.bat to the windows specific build tools
Diffstat (limited to 'tools/windows')
-rw-r--r-- | tools/windows/JsonSchemaBuilder.bat | 12 |
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 |