You've already forked zerotier-rust-api
mirror of
https://github.com/zerotier/zerotier-rust-api.git
synced 2026-05-22 16:26:25 -07:00
9b10115c9a
- updated dependencies (esp. those with vulnerabilities) - add 'audit' make target for ongoing checks - convert to cargo workspace
18 lines
474 B
Makefile
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
|