From 16fdb6600ac97fb5fd228ae0464aeb2e04f21ea4 Mon Sep 17 00:00:00 2001 From: orion Date: Wed, 25 Feb 2026 12:54:05 +0000 Subject: [PATCH] chore(dev): add Makefile shortcuts for check/smoke lifecycle --- Makefile | 16 ++++++++++++++++ README.md | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..437f721 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +.PHONY: check check-rules up down smoke + +check: + cd plugin && npm run check + +check-rules: + node scripts/validate-rules.mjs + +up: + ./scripts/dev-up.sh + +down: + ./scripts/dev-down.sh + +smoke: + ./scripts/smoke-no-reply-api.sh diff --git a/README.md b/README.md index fa04acf..0776e83 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,8 @@ The no-reply provider returns `NO_REPLY` for any input. - `plugin/` — OpenClaw plugin (before_model_resolve hook) - `no-reply-api/` — OpenAI-compatible minimal API that always returns `NO_REPLY` - `docs/` — rollout and configuration notes -- `scripts/` — smoke/dev helper scripts +- `scripts/` — smoke/dev/helper checks +- `Makefile` — common dev commands (`make check`, `make check-rules`, `make up`) ---