mirror of
https://github.com/Luzifer/wasm-openssl.git
synced 2024-11-09 15:20:06 +00:00
10 lines
265 B
Makefile
10 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
|