mirror of
https://github.com/Luzifer/wasm-openssl.git
synced 2024-11-08 23:00:11 +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"
|