Libraries
The command that manages the versioned libraries a project uses.
Commands: archec lib
| Command | What it does |
|---|---|
archec lib <main.arche> |
The libraries the project uses: the version of each, where it is, and the other versions there are. Exit 1 when one is missing or in no version the project accepts. |
archec lib <main.arche> fetch |
The libraries written uses name "^1.2" from "<git URL>": their repository's version tags (v1.2.0 or 1.2.0) are read, the version arche.lock names (else the newest in range) is checked out into .arche/libs/<name>@<version>/, which the build then reads; what they use from git is fetched too. archec lib … lock then records each one's repository and commit; a tag that moved since is reported and the locked commit checked out. Offline by default: archec config allow libraries lets it reach the git hosts (ai-engineering.md). |
archec lib <main.arche> lock |
arche.lock beside the main file: each library's version and a fingerprint of its files. The version locked is kept, and a library whose files changed under the same version is pointed out. |