mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 02:46:20 +00:00
Move all development tools from tools/ to scripts/ for consistency. Rename lint/fmt/check-fmt to lint-clj/fmt-clj/check-fmt-clj to clarify they target Clojure specifically. Remove unused scripts (attach-opencode, start-opencode, start-opencode-server) and the backport-commit skill. Update all internal references across .serena/, AGENTS.md, and CONTRIBUTING.md to point to the new script locations. Simplify CONTRIBUTING.md by delegating module-specific fmt/lint instructions to the respective serena memories. AI-assisted-by: deepseek-v4-flash
1.1 KiB
1.1 KiB
name, description
| name | description |
|---|---|
| nrepl-eval | Evaluate Clojure code via nREPL using the standalone scripts/nrepl-eval.mjs CLI tool. |
nREPL Eval
Evaluate Clojure (or ClojureScript) code via a running nREPL server using
scripts/nrepl-eval.mjs.
Full documentation: mem:scripts/nrepl-eval (file: .serena/memories/scripts/nrepl-eval.md)
Quick Reference
./scripts/nrepl-eval.mjs [options] [<code>]
| Flag | Description | Default |
|---|---|---|
--backend |
Connect to backend nREPL (port 6064) | — |
--frontend |
Connect to frontend nREPL (port 3447) | — |
-p, --port PORT |
nREPL server port | 6064 |
-H, --host HOST |
nREPL server host | 127.0.0.1 |
-t, --timeout MS |
Timeout in milliseconds | 120000 |
--reset-session |
Discard stored session and start fresh | — |
-e, --last-error |
Evaluate *e to retrieve the last exception |
— |
-h, --help |
Show help message | — |
Examples
./scripts/nrepl-eval.mjs '(+ 1 2 3)'
./scripts/nrepl-eval.mjs --backend '(+ 1 2 3)'
./scripts/nrepl-eval.mjs --frontend '(js/alert "hi")'
./scripts/nrepl-eval.mjs -e