tmp-wasm/Makefile
Vincent Batts fc6fc03dbc
Initial commit
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2024-12-13 16:21:11 -05:00

12 lines
205 B
Makefile

default: assets/json.wasm
assets/json.wasm: cmd/wasm/main.go
GOOS=js GOARCH=wasm go build -o $@ $<
run: server
./server
server: cmd/server/main.go assets/json.wasm
go build -o server ./cmd/server/