12 lines
179 B
Makefile
12 lines
179 B
Makefile
|
.PHONY: run
|
||
|
run:
|
||
|
go run main.go ripple.go
|
||
|
|
||
|
.PHONY: wasm
|
||
|
wasm:
|
||
|
GOOS=js GOARCH=wasm go build -v -o ripple.wasm main_wasm.go ripple.go
|
||
|
|
||
|
.PHONY: serve
|
||
|
serve: wasm
|
||
|
go run server.go
|