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
11 lines
167 B
.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
|
|
|