shortcuts/Makefile
2024-10-01 04:37:42 +02:00

9 lines
430 B
Makefile
Vendored

dev:
GOOS=js GOARCH=wasm tinygo build -o stat/mod.wasm -no-debug ./stat/main.go
GOOS=js GOARCH=wasm tinygo build -o regr/mod.wasm ./regr/main.go
GOOS=js GOARCH=wasm go build -o plot/mod.wasm ./plot/main.go
prod:
GOOS=js GOARCH=wasm tinygo build -o stat/mod.wasm -no-debug ./stat/main.go
GOOS=js GOARCH=wasm tinygo build -o regr/mod.wasm -no-debug ./regr/main.go
GOOS=js GOARCH=wasm go build -o plot/mod.wasm ./plot/main.go