mirror of
https://github.com/1f349/dendrite.git
synced 2024-12-23 00:34:07 +00:00
4 lines
163 B
Bash
Executable File
4 lines
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 |