mirror of
https://github.com/nikolaydubina/calendarheatmap.git
synced 2024-12-04 03:39:18 +02:00
reduce size
This commit is contained in:
parent
0bd797d4a0
commit
66999d2585
2
Makefile
2
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user