From 792f7455879c78481ee2338da5250b2cb196e132 Mon Sep 17 00:00:00 2001 From: Razvan Dimescu Date: Sat, 21 Mar 2026 04:13:21 +0200 Subject: [PATCH] remove docs from repo, add codesign to install.sh Docs contain internal planning (token economics, growth plan) that should not be public. Keep locally via .gitignore. Added macOS ad-hoc codesign step to install.sh. Co-Authored-By: Claude Opus 4.6 --- .gitignore | 1 + README.md | 2 +- install.sh | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index cfa6940..1b715be 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /target CLAUDE.md +docs/ diff --git a/README.md b/README.md index 601adaa..d67cf10 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ Query → Overrides → .numa TLD → Blocklist → Local Zones → Cache → Up No DNS libraries. The wire protocol — headers, labels, compression pointers, record types — is parsed and serialized by hand. Runs on `tokio` + `axum`, async per-query task spawning. -[Full API reference (22 endpoints)](docs/development-plan.md) · [Configuration reference](numa.toml) +[Configuration reference](numa.toml) ## Roadmap diff --git a/install.sh b/install.sh index 3771907..a388659 100755 --- a/install.sh +++ b/install.sh @@ -58,6 +58,12 @@ else fi chmod +x "$INSTALL_DIR/numa" + +# macOS: ad-hoc codesign (required or the binary gets killed) +if [ "$OS_NAME" = "macos" ]; then + codesign -f -s - "$INSTALL_DIR/numa" 2>/dev/null || true +fi + rm -rf "$TMP" echo ""