3fb03b23d7475a98319522f84d0f125722036e56
- Config struct with zuurUrl, cacheDir, zetaToolchainPath, zetaPath, defaultJobs - Priority: env vars > TOML config file > hardcoded defaults - Env vars: TOFU_ZUUR_URL, TOFU_CACHE_DIR, TOFU_ZETA_TOOLCHAIN_PATH, TOFU_ZETA_PATH, TOFU_DEFAULT_JOBS, TOFU_CONFIG - TOML [core] section parsing via toml package v1.0.0 - URL helpers: recipesUrl, binaryManifestUrl, indexUrl - Cache path helpers: recipesCacheDir, builtDir, builtPackagesDir - Malformed TOML → stderr warning + fallback to defaults - 14 unittest blocks covering all config scenarios - All tests pass: dub test → 3 modules passed unittests
tofu
A package manager for the ZereneOS Unofficial User Repository
What it is
A Dlang wrapper around zeta-toolchain and ZETA for the ZUUR recipe repository, in the style of yay/paru for the ZereneOS ecosystem.
Requirements
- dub
- a D compiler (dmd or ldc2)
- lua
- curl
- zeta-toolchain
- Zeta
Build
dub build
Produces the ./tofu binary.
Description
A package manager for the ZereneOS Unofficial User Repository
241 KiB
Languages
D
97.3%
Shell
2.7%