ucl/Makefile
2024-04-27 10:11:22 +10:00

14 lines
252 B
Makefile

clean:
-rm -r build
test:
go test ./ucl/...
site: clean
mkdir build
mkdir build/site
cp -r _site/* build/site/.
GOOS=js GOARCH=wasm go build -o build/site/playwasm.wasm ./cmd/playwasm/.
site-deploy: site
netlify deploy --dir build/site --prod