41c0b5acfb
Signed-off-by: Felix Hanley <felix@userspace.com.au>
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
|