Some changes with more on the way
This commit is contained in:
parent
acadefcaa5
commit
d144069dbe
5 changed files with 622 additions and 252 deletions
|
|
@ -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 "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue