Some changes with more on the way

This commit is contained in:
ookami125 2025-03-28 16:40:20 -04:00
parent acadefcaa5
commit d144069dbe
5 changed files with 622 additions and 252 deletions

View file

@ -2,4 +2,15 @@
DB_HASH=$(spacetime list 2>/dev/null | tail -1)
func=$1;
shift;
if [[ "$func" == "publish" ]]; then
zig build -freference-trace=100 || exit 1
spacetime logout
spacetime login --server-issued-login local
spacetime publish -y --server local --bin-path=zig-out/bin/stdb-zig-helloworld.wasm
DB_HASH=$(spacetime list 2>/dev/null | tail -1)
spacetime logs $DB_HASH
exit $?
fi
spacetime "$func" $DB_HASH "$@"