mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-22 06:11:55 -06:00
4 lines
163 B
Bash
4 lines
163 B
Bash
|
#!/bin/bash -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
|