2024-04-26 00:31:41 +00:00
|
|
|
clean:
|
|
|
|
-rm -r build
|
|
|
|
|
|
|
|
test:
|
2024-04-27 00:11:22 +00:00
|
|
|
go test ./ucl/...
|
2024-04-26 00:31:41 +00:00
|
|
|
|
|
|
|
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
|