ucl/Makefile

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