mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
41c0b5acfb
Signed-off-by: Felix Hanley <felix@userspace.com.au>
4 lines
162 B
Bash
Executable file
4 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
|