render/examples/hello-wasm/Makefile

12 lines
167 B
Makefile
Raw Normal View History

2019-12-23 00:26:33 +00:00
.PHONY: build
build:
GOOS=js GOARCH=wasm go build -v -o hello.wasm main_wasm.go
.PHONY: serve
serve: build
go run server.go
.PHONY: clean
clean:
rm -f hello.wasm