ucl/Makefile

14 lines
252 B
Makefile
Raw Permalink Normal View History

clean:
-rm -r build
test:
2024-04-27 00:11:22 +00:00
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