ucl/Makefile
Leon Mika 42d5a89471
All checks were successful
Build / build (push) Successful in 1m49s
Started working on more package docs
2025-01-19 10:11:55 +11:00

20 lines
712 B
Makefile

clean:
-rm -r build
test:
go test ./ucl/...
site: clean
mkdir build
mkdir build/site
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/mod/index.md build/site/mod/index.html
go run ./cmd/gendocs/main.go ./_docs/mod/core.md build/site/mod/core/index.html
go run ./cmd/gendocs/main.go ./_docs/mod/csv.md build/site/mod/csv/index.html
go run ./cmd/gendocs/main.go ./_docs/mod/fs.md build/site/mod/fs/index.html
go run ./cmd/gendocs/main.go ./_docs/mod/os.md build/site/mod/os/index.html
GOOS=js GOARCH=wasm go build -o build/site/playwasm.wasm ./cmd/playwasm/.
site-deploy: site
netlify deploy --dir build/site --prod