File tree Expand file tree Collapse file tree
examples~/quickstart-chat/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ See [SpacetimeDB](https://github.com/clockworklabs/SpacetimeDB)/modules/quicksta
33
44## Regenerating bindings
55
6- To regenerate bindings: clone SpacetimeDB next to this repo, then in the root of this repo:
6+ To regenerate bindings: clone SpacetimeDB next to this repo, then in ` sdks/csharp ` of this repo:
77
88``` bash
9- tools~/gen-quickstart.sh ../SpacetimeDB
10- ```
9+ tools~/gen-quickstart.sh
10+ ```
Original file line number Diff line number Diff line change 22
33set -ueo pipefail
44
5- STDB_PATH=" $1 "
65SDK_PATH=" $( dirname " $0 " ) /.."
76SDK_PATH=" $( realpath " $SDK_PATH " ) "
7+ STDB_PATH=" $SDK_PATH /../.."
88
99cargo build --manifest-path " $STDB_PATH /crates/standalone/Cargo.toml"
1010
Original file line number Diff line number Diff line change 22
33set -ueo pipefail
44
5- STDB_PATH=" $1 "
65SDK_PATH=" $( dirname " $0 " ) /.."
76SDK_PATH=" $( realpath " $SDK_PATH " ) "
7+ STDB_PATH=" $SDK_PATH /../.."
88
99cargo build --manifest-path " $STDB_PATH /crates/standalone/Cargo.toml"
1010cargo run --manifest-path " $STDB_PATH /crates/cli/Cargo.toml" -- generate -y -l csharp -o " $SDK_PATH /examples~/quickstart-chat/client/module_bindings" --project-path " $SDK_PATH /examples~/quickstart-chat/server"
Original file line number Diff line number Diff line change 22
33set -ueo pipefail
44
5- STDB_PATH=" $1 "
65SDK_PATH=" $( dirname " $0 " ) /.."
76SDK_PATH=" $( realpath " $SDK_PATH " ) "
7+ STDB_PATH=" $SDK_PATH /../.."
88
99cargo build --manifest-path " $STDB_PATH /crates/standalone/Cargo.toml"
1010cargo run --manifest-path " $STDB_PATH /crates/cli/Cargo.toml" -- generate -y -l csharp -o " $SDK_PATH /examples~/regression-tests/client/module_bindings" --project-path " $SDK_PATH /examples~/regression-tests/server"
Original file line number Diff line number Diff line change 44
55set -ueo pipefail
66
7- STDB_PATH=" $1 "
87SDK_PATH=" $( dirname " $0 " ) /.."
98SDK_PATH=" $( realpath " $SDK_PATH " ) "
9+ STDB_PATH=" $SDK_PATH /../.."
1010
1111# Regenerate Bindings
12- " $SDK_PATH /tools~/gen-regression-tests.sh" " $STDB_PATH "
12+ " $SDK_PATH /tools~/gen-regression-tests.sh"
1313
1414# Build and run SpacetimeDB server
1515cargo build --manifest-path " $STDB_PATH /crates/standalone/Cargo.toml"
@@ -27,4 +27,4 @@ cargo run --manifest-path "$STDB_PATH/crates/cli/Cargo.toml" call republish-test
2727cd " $SDK_PATH /examples~/regression-tests/client" && dotnet run -c Debug
2828
2929# Run client for republishing module test
30- cd " $SDK_PATH /examples~/regression-tests/republishing/client" && dotnet run -c Debug
30+ cd " $SDK_PATH /examples~/regression-tests/republishing/client" && dotnet run -c Debug
Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ SDK_PATH="$(dirname "$0")/.."
99SDK_PATH=" $( realpath " $SDK_PATH " ) "
1010
1111" $SDK_PATH /tools~/write-nuget-config.sh" " $STDB_PATH "
12- " $SDK_PATH /tools~/gen-client-api.sh" " $STDB_PATH "
13- " $SDK_PATH /tools~/gen-quickstart.sh" " $STDB_PATH "
14- " $SDK_PATH /tools~/gen-regression-tests.sh" " $STDB_PATH "
12+ " $SDK_PATH /tools~/gen-client-api.sh"
13+ " $SDK_PATH /tools~/gen-quickstart.sh"
14+ " $SDK_PATH /tools~/gen-regression-tests.sh"
1515dotnet nuget locals all --clear
1616dotnet pack " $STDB_PATH /crates/bindings-csharp"
1717rm -rf " $SDK_PATH /packages"
You can’t perform that action at this time.
0 commit comments