Fetch bjoterm from rikspucko, by its version tag

bjoterm is now a git dependency, at version 0.1.0 or later, pinned in
bjo.lock. So a clone of bjosh builds on any computer that has Bjolang.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Linus Björnstam 2026-12-01 10:48:37 +01:00
parent 84bd2f3382
commit aa5bae96e0
3 changed files with 15 additions and 4 deletions

View file

@ -14,8 +14,11 @@ non-trivial functions. No essays.
dotnet. No Native AOT: it cannot load the user's commands. dotnet. No Native AOT: it cannot load the user's commands.
- `bjo test` runs the tests. `tests/run.bjo` and `tests/interactive.bjo` - `bjo test` runs the tests. `tests/run.bjo` and `tests/interactive.bjo`
run `src/main.exe`, so run `bjo build` first. run `src/main.exe`, so run `bjo build` first.
- It depends on bjoterm at `../bjoterm`. A change there needs `bjo build` - It depends on bjoterm, fetched from rikspucko by its version tag and
here. pinned in `bjo.lock`. A change in bjoterm needs a new tag there, and a
higher `version-at-least` here. To work on both at once, put the path
source `(source (path (dir "../bjoterm")))` in the manifest for the time
being.
- Modules: - Modules:
- `(bjosh syntax)`: the parser, with `(text parser-combinators)`. - `(bjosh syntax)`: the parser, with `(text parser-combinators)`.
- `(bjosh expand)`: variables, `~`, `$(...)` and globs. - `(bjosh expand)`: variables, `~`, `$(...)` and globs.

5
bjo.lock Normal file
View file

@ -0,0 +1,5 @@
(lock
(locked
(package (name (bjoterm)) (version "0.1.0")
(source (git (url "https://rikspucko.koketteriet.se/bjoli/bjoterm.git")))
(commit "5a8a441cbc9a230f0efdf263c8d52b749e644be596c22ab0b110e9d464b1d468"))))

View file

@ -7,5 +7,8 @@
;; bin/bjosh starts src/main.exe. ;; bin/bjosh starts src/main.exe.
(depends (depends
;; The line editor and the terminal. On disk until it has a remote. ;; The line editor and the terminal. To work on both at once, use
(package (name (bjoterm)) (source (path (dir "../bjoterm")))))) ;; (source (path (dir "../bjoterm"))) instead.
(package (name (bjoterm))
(version (version-at-least "0.1.0"))
(source (git (url "https://rikspucko.koketteriet.se/bjoli/bjoterm.git"))))))