Build the user commands with $BJO, after the start-up file
- The build runs $BJO, else bjo on PATH. A bjo that is not there gives a message that says what to set, and where. - An interactive bjosh runs the start-up file first, and loads the user commands after it, so the file can set PATH or BJO. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
bf961b12f9
commit
817de694b0
4 changed files with 75 additions and 27 deletions
6
plan.org
6
plan.org
|
|
@ -436,8 +436,12 @@ User commands, compiled, loaded into the shell at start-up. Needs
|
|||
- The first interactive start writes the package with its example, when
|
||||
its directory is not there; an empty directory turns this off.
|
||||
~--new-commands~ stays, for a start that is not interactive.
|
||||
- The build runs ~$BJO~, else ~bjo~ on ~PATH~. An interactive bjosh runs
|
||||
the start-up file first and loads the commands after it, so the file can
|
||||
set either; the start-up file cannot use the user's commands. A bjo that
|
||||
is not there gives a message that says what to set.
|
||||
- Measured: 132 ms for ~bjosh -c true~ with the example package loaded.
|
||||
- Tests: ~tests/extension.bjo~, 25 checks. The other tests: syntax 72,
|
||||
- Tests: ~tests/extension.bjo~, 30 checks. The other tests: syntax 72,
|
||||
expand 26, values 59, editor 24, run 60, interactive 16.
|
||||
|
||||
** Phase 5: later
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue