1
0
mirror of https://github.com/Luzifer/wasm-openssl.git synced 2024-09-18 23:42:57 +00:00
wasm-openssl/Makefile

14 lines
369 B
Makefile
Raw Normal View History

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