ucl/Makefile
Leon Mika 531dd9bf4e
All checks were successful
Build / build (push) Successful in 2m7s
Started building out the site.
2025-01-18 16:02:35 +11:00

17 lines
421 B
Makefile

clean:
-rm -r build
test:
go test ./ucl/...
site: clean
mkdir build
mkdir build/site
mkdir build/site/core
cp -r _site/* build/site/.
go run ./cmd/gendocs/main.go ./_docs/index.md > build/site/index.html
go run ./cmd/gendocs/main.go ./_docs/core.md > build/site/core/index.html
GOOS=js GOARCH=wasm go build -o build/site/playwasm.wasm ./cmd/playwasm/.
site-deploy: site
netlify deploy --dir build/site --prod