From aa5bae96e08c011d0b5021d333b127fc5ada2fd357b5127733adc60d37b83ad6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Bj=C3=B6rnstam?= Date: Tue, 1 Dec 2026 10:48:37 +0100 Subject: [PATCH] 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 --- AGENTS.md | 7 +++++-- bjo.lock | 5 +++++ manifest.bjodat | 7 +++++-- 3 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 bjo.lock diff --git a/AGENTS.md b/AGENTS.md index 1f28e5e..b8a702e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -14,8 +14,11 @@ non-trivial functions. No essays. dotnet. No Native AOT: it cannot load the user's commands. - `bjo test` runs the tests. `tests/run.bjo` and `tests/interactive.bjo` run `src/main.exe`, so run `bjo build` first. -- It depends on bjoterm at `../bjoterm`. A change there needs `bjo build` - here. +- It depends on bjoterm, fetched from rikspucko by its version tag and + 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: - `(bjosh syntax)`: the parser, with `(text parser-combinators)`. - `(bjosh expand)`: variables, `~`, `$(...)` and globs. diff --git a/bjo.lock b/bjo.lock new file mode 100644 index 0000000..90193a3 --- /dev/null +++ b/bjo.lock @@ -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")))) diff --git a/manifest.bjodat b/manifest.bjodat index fe64fe8..3e2aa82 100644 --- a/manifest.bjodat +++ b/manifest.bjodat @@ -7,5 +7,8 @@ ;; bin/bjosh starts src/main.exe. (depends - ;; The line editor and the terminal. On disk until it has a remote. - (package (name (bjoterm)) (source (path (dir "../bjoterm")))))) + ;; The line editor and the terminal. To work on both at once, use + ;; (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"))))))