0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-15 11:03:45 +01:00
dendrite/build-dendritejs.sh

5 lines
162 B
Bash
Raw Normal View History

#!/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