1
0
mirror of https://github.com/Luzifer/wasm-openssl.git synced 2024-09-19 07:52:58 +00:00
wasm-openssl/Makefile
Knut Ahlers 5729d9e9cc
Cleanup main dir
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-09-18 18:42:46 +02:00

11 lines
265 B
Makefile

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