add a build step for html5ever in build.zig

This commit is contained in:
Halil Durak
2025-11-25 12:43:52 +03:00
parent 23e3a1d012
commit 6280232e91
3 changed files with 36 additions and 19 deletions

View File

@@ -127,20 +127,13 @@ build-v8:
# Install and build required dependencies commands
# ------------
.PHONY: install-html5ever install-html5ever-dev
.PHONY: install install-dev
## Install and build dependencies for release
install: install-submodule install-html5ever
install: install-submodule
## Install and build dependencies for dev
install-dev: install-submodule install-html5ever-dev
install-html5ever:
cd src/html5ever && cargo build --release --target-dir ../../build/html5ever/
install-html5ever-dev:
cd src/html5ever && cargo build --target-dir ../../build/html5ever/
install-dev: install-submodule
data:
cd src/data && go run public_suffix_list_gen.go > public_suffix_list.zig