chore: scaffold dub project with TOML dep

This commit is contained in:
2026-08-08 17:10:04 -04:00
parent 709bb310e1
commit b2d1df72f9
5 changed files with 49 additions and 1 deletions
+4
View File
@@ -17,10 +17,14 @@
# DUB
.dub
.dub/
docs.json
__dummy.html
docs/
# tofu binary
/tofu
# Code coverage
*.lst
+22 -1
View File
@@ -1,3 +1,24 @@
# tofu
A package manager for the ZereneOS Unofficial User Repository
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.
+12
View File
@@ -0,0 +1,12 @@
{
"name": "tofu",
"description": "A package manager for the ZereneOS Unofficial User Repository",
"authors": ["huntedbytheirs"],
"license": "BSD-3-Clause",
"targetType": "executable",
"targetName": "tofu",
"dependencies": {
"toml": "~>1.0.0"
},
"buildOptions": ["warningsAsErrors"]
}
+7
View File
@@ -0,0 +1,7 @@
import std.stdio;
int main()
{
writeln("tofu: ZUUR package manager");
return 0;
}
+4
View File
@@ -0,0 +1,4 @@
/// tofu — a package manager for the ZereneOS Unofficial User Repository.
///
/// Future modules (config, log, types, ...) live under this package.
module tofu;