PaletteSwitcher/Makefile

10 lines
272 B
Makefile
Raw Permalink Normal View History

build-wasm:
cd src && GOOS=js GOARCH=wasm go build -o ../client/public/main.wasm .
2021-12-11 17:07:10 +00:00
build-wasm-release:
cd src && GOOS=js GOARCH=wasm go build -ldflags="-s -w" -o ../client/public/main.wasm .
build-react:
2021-12-11 15:19:48 +00:00
cd client && npm run build
2021-12-11 17:07:10 +00:00
all: build-wasm-release build-react