A rendering engine library for Go supporting both SDL2 and WebAssembly (HTML Canvas) targets.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
167 B

.PHONY: build
GOOS=js GOARCH=wasm go build -v -o hello.wasm main_wasm.go
.PHONY: serve
serve: build
go run server.go
.PHONY: clean
rm -f hello.wasm