Files
Lennon Day-Reynolds 9b10115c9a general cleanup and updates
- updated dependencies (esp. those with vulnerabilities)
- add 'audit' make target for ongoing checks
- convert to cargo workspace
2026-02-17 09:02:47 -08:00

18 lines
474 B
Makefile

all: central service
central:
curl -sSL https://docs.zerotier.com/openapi/central/v1.json > zerotier-central-api/openapi.json
cd zerotier-central-api && cargo build
service:
curl -sSL https://docs.zerotier.com/openapi/central/v1.json > zerotier-one-api/openapi.json
cd zerotier-one-api && cargo build
audit:
@if ! cargo-audit -h >/dev/null 2>&1; \
then echo "Could not cargo-audit. (Hint: 'cargo install cargo-audit')"; \
fi
cargo audit
.PHONY: central service