1
0
mirror of https://github.com/nikolaydubina/calendarheatmap.git synced 2024-12-04 03:39:18 +02:00

reduce size

This commit is contained in:
Nikolay 2021-10-01 19:27:08 +08:00
parent 0bd797d4a0
commit 66999d2585

View File

@ -18,7 +18,7 @@ docs: build
build-web:
cp "$$(go env GOROOT)/misc/wasm/wasm_exec.js" web/
cp -r assets web/assets
cd web; GOARCH=wasm GOOS=js go build -o main.wasm main.go
cd web; GOARCH=wasm GOOS=js go build -ldflags="-s -w" -o main.wasm main.go
run-web: build-web
cd web; python3 -m http.server 8000