.PHONY: build_all build_client build_server build_ws build_wasm build_python develop_python clean update clippy test fmt all
build_all:
cargo build --release --all-features --all-targets
./scripts/build_webassembly.sh
clean:
cargo clean
update:
cargo update
build_client:
cargo build --release
build_server:
cargo build --release --all-features --bin dnsm-server
build_ws:
cargo build --release --all-features --bin dnsm-ws
build_wasm:
./scripts/build_webassembly.sh
build_python:
maturin build --release --no-default-features --features python --zig --compatibility manylinux_2_17
develop_python:
maturin develop --no-default-features --features python
fmt:
cargo fmt --all
clippy:
cargo clippy --all-targets --all-features -- -D warnings
test:
cargo test --all-features
all: clean update build_all test