mirror of
https://github.com/Luzifer/wasm-openssl.git
synced 2024-11-09 23:30:06 +00:00
9 lines
238 B
Makefile
9 lines
238 B
Makefile
|
default: build wasm_exec.js
|
||
|
|
||
|
build:
|
||
|
GOOS=js GOARCH=wasm go build -o main.wasm main.go
|
||
|
gzip -c main.wasm > main.wasm.gz
|
||
|
|
||
|
wasm_exec.js:
|
||
|
curl -sSfLo wasm_exec.js "https://raw.githubusercontent.com/golang/go/go1.11/misc/wasm/wasm_exec.js"
|