mirror of
https://github.com/matrix-org/dendrite
synced 2024-06-27 00:38:24 +02:00
5 lines
162 B
Bash
Executable file
5 lines
162 B
Bash
Executable file
#!/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
|