1
0
Fork 0
mirror of https://github.com/Luzifer/wasm-openssl.git synced 2024-11-08 23:00:11 +00:00
wasm-openssl/Makefile

11 lines
265 B
Makefile
Raw Normal View History

default: build example/wasm_exec.js
build:
GOOS=js GOARCH=wasm go build -o example/openssl.wasm main.go
example/wasm_exec.js:
curl -sSfLo example/wasm_exec.js "https://raw.githubusercontent.com/golang/go/go1.11/misc/wasm/wasm_exec.js"
publish:
bash golang.sh