tazelish
Installs Tazel and chooses which version of it runs.
Clonegit clone https://git.progmasoft.com/tazelish
Add docs/ with the architecture and the development
- Commit
3b10f56cca0fe9c26863842526a987b6b891f99b- Author
- Leitwolf11 ·
- Parents
a81090c7362a
Changes
docs/README.md | 11 +++++++++++ docs/architecture.md | 14 ++++++++++++++ docs/development.md | 15 +++++++++++++++ 3 files changed, 40 insertions(+) diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 0000000..c589980 --- /dev/null +++ b/docs/README.md @@ -0,0 +1,11 @@ +<!-- SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com> --> +<!-- SPDX-License-Identifier: MIT --> + +# Tazelish documentation + +| Document | What it covers | +| --- | --- | +| [Architecture](architecture.md) | the sources and headers, and how a version is chosen | +| [Development](development.md) | building and testing with Bazel, the documentation and CI | + +The [README](../README.md) says what Tazelish is and how to use it. diff --git a/docs/architecture.md b/docs/architecture.md new file mode 100644 index 0000000..e3b423d --- /dev/null +++ b/docs/architecture.md @@ -0,0 +1,14 @@ +<!-- SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com> --> +<!-- SPDX-License-Identifier: MIT --> + +# Architecture + +| File | What it does | +| --- | --- | +| `Sources/Main.cpp` | The entry point: runs the command the command line names. | +| `Sources/CommandLine.cpp` | The command line, read by hand into a typed command: `install`, `use`, `default`, `self`, `help`. | +| `Sources/Version.cpp` | Reading and ordering versions, and the named channels such as `unstable` and `nightly`. | +| `Sources/VersionFiles.cpp` | `tazelish.txt` (the nearest, in this folder or above) and the user's `config.txt`, read and written; `--force` to write over one. | +| `Sources/Help.cpp` | The help of each command. | + +The public headers are in `Headers/Progmasoft/Tazelish/`, one per source. `Build/` holds Bazel's toolchain settings. diff --git a/docs/development.md b/docs/development.md new file mode 100644 index 0000000..dbae6a4 --- /dev/null +++ b/docs/development.md @@ -0,0 +1,15 @@ +<!-- SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com> --> +<!-- SPDX-License-Identifier: MIT --> + +# Development + +Tazelish is C++17, built with Bazel through Bazelisk. + +```sh +bazelisk build //:tazelish +bazelisk test //... +doxygen Doxyfile # the API documentation, in doxygen/ +``` + +The tests in `Tests/` cover the command line, versions and the version files. CI builds and tests on Linux, macOS +and Windows, collects coverage, and builds the Doxygen documentation.