2026-02-17 09:02:40 -08:00
|
|
|
all: central service
|
|
|
|
|
|
2021-07-28 14:06:43 -07:00
|
|
|
central:
|
2026-02-17 09:02:40 -08:00
|
|
|
curl -sSL https://docs.zerotier.com/openapi/central/v1.json > zerotier-central-api/openapi.json
|
|
|
|
|
cd zerotier-central-api && cargo build
|
2021-07-28 14:06:43 -07:00
|
|
|
|
|
|
|
|
service:
|
2026-02-17 09:02:40 -08:00
|
|
|
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
|
2021-07-28 14:06:43 -07:00
|
|
|
|
2021-07-28 20:17:07 -07:00
|
|
|
.PHONY: central service
|