aboutsummaryrefslogtreecommitdiff
path: root/build-dendritejs.sh
diff options
context:
space:
mode:
authorJ. Ryan Stinnett <jryans@gmail.com>2021-07-20 12:14:58 +0100
committerGitHub <noreply@github.com>2021-07-20 12:14:58 +0100
commit034f5ae3f1d9c01352a71f4717971f727bae57ee (patch)
treeee78cdcd804940e3321be32d322a08db68d82add /build-dendritejs.sh
parentf63068df3b9efb11f2677dd527994477b806ed19 (diff)
Add startup testing for Wasm Pinecone build (#1910)
* Only include go-sqlite3 on the relevant binaries * The driver name is always sqlite3 now * Update to matrix-org/go-sqlite3-js@e537baa * Add initial Wasm test harness * Upgrade go-sqlite3-js This fixes an error about semicolons in single statements. * Add browser-like WebSocket API for testing * Upgrade go-sqlite3-js This upgrade includes printing panic messages next to stacks. * Run for all PRs targeting any branch * Use manual Node caching * Temporarily run for all pushes * Use npm ci instead of install * Use HTTPS auth for repo packages * Match path style from build.sh * update utp Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
Diffstat (limited to 'build-dendritejs.sh')
-rwxr-xr-xbuild-dendritejs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-dendritejs.sh b/build-dendritejs.sh
index 83ec3699..1c44bdd9 100755
--- a/build-dendritejs.sh
+++ b/build-dendritejs.sh
@@ -1,4 +1,4 @@
#!/bin/sh -eu
export GIT_COMMIT=$(git rev-list -1 HEAD) && \
-GOOS=js GOARCH=wasm go build -ldflags "-X main.GitCommit=$GIT_COMMIT" -o main.wasm ./cmd/dendritejs
+GOOS=js GOARCH=wasm go build -ldflags "-X main.GitCommit=$GIT_COMMIT" -o bin/main.wasm ./cmd/dendritejs-pinecone