mirror of
https://github.com/matrix-org/dendrite
synced 2024-10-31 21:19:04 +01:00
4 lines
No EOL
163 B
Bash
Executable file
4 lines
No EOL
163 B
Bash
Executable file
#!/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 |