1
0
mirror of https://github.com/Luzifer/wasm-openssl.git synced 2024-09-16 14:38:28 +00:00
wasm-openssl/Makefile
Knut Ahlers a470395aca
Update to Go1.17, update go-openssl
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-07 18:28:28 +02:00

14 lines
369 B
Makefile

GO_VERSION=1.17
default: build_golang
build_golang:
curl -fLo ./example/wasm_exec.js "https://raw.githubusercontent.com/golang/go/go${GO_VERSION}/misc/wasm/wasm_exec.js"
GOOS=js GOARCH=wasm go build \
-o example/openssl.wasm \
main.go
publish:
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
bash golang.sh