PaletteSwitcher/Makefile
2021-12-11 18:07:10 +01:00

10 lines
272 B
Makefile

build-wasm:
cd src && GOOS=js GOARCH=wasm go build -o ../client/public/main.wasm .
build-wasm-release:
cd src && GOOS=js GOARCH=wasm go build -ldflags="-s -w" -o ../client/public/main.wasm .
build-react:
cd client && npm run build
all: build-wasm-release build-react