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"))))))