From d5519af32f50ec3071b3793a293785fa91afefca Mon Sep 17 00:00:00 2001 From: Zeke Foppa Date: Mon, 9 Sep 2024 12:30:37 -0700 Subject: [PATCH] Remove old files --- tools/gen-client-api.bat | 20 -------------------- tools/gen-client-api.sh | 15 --------------- 2 files changed, 35 deletions(-) delete mode 100644 tools/gen-client-api.bat delete mode 100644 tools/gen-client-api.sh diff --git a/tools/gen-client-api.bat b/tools/gen-client-api.bat deleted file mode 100644 index 9eb66c49..00000000 --- a/tools/gen-client-api.bat +++ /dev/null @@ -1,20 +0,0 @@ -@echo off -setlocal - -if "%CL_HOME%"=="" ( - echo "Variable CL_HOME not set" - exit /b 1 -) - -cd %CL_HOME%\SpacetimeDB\crates\client-api-messages -cargo run --example get_ws_schema > %CL_HOME%/schema.json - -cd %CL_HOME%\SpacetimeDB\crates\cli -cargo run -- generate -l csharp -n SpacetimeDB.ClientApi ^ - --json-module %CL_HOME%\schema.json ^ - -o %CL_HOME%\spacetimedb-csharp-sdk\src\SpacetimeDB\ClientApi - -cd %CL_HOME%\spacetimedb-csharp-sdk\src\SpacetimeDB\ClientApi -del /q _Globals - -del %CL_HOME%\schema.json diff --git a/tools/gen-client-api.sh b/tools/gen-client-api.sh deleted file mode 100644 index 91fbe3da..00000000 --- a/tools/gen-client-api.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -eu -: $CL_HOME - -cd $CL_HOME/SpacetimeDB/crates/client-api-messages -cargo run --example get_ws_schema > $CL_HOME/schema.json - -cd $CL_HOME/SpacetimeDB/crates/cli -cargo run -- generate -l csharp -n SpacetimeDB.ClientApi \ - --json-module $CL_HOME/schema.json \ - -o $CL_HOME/spacetimedb-csharp-sdk/src/SpacetimeDB/ClientApi - -cd $CL_HOME/spacetimedb-csharp-sdk/src/SpacetimeDB/ClientApi -rm -rf _Globals - -rm -f $CL_HOME/schema.json