chore: scaffold dub project with TOML dep
This commit is contained in:
@@ -17,10 +17,14 @@
|
|||||||
|
|
||||||
# DUB
|
# DUB
|
||||||
.dub
|
.dub
|
||||||
|
.dub/
|
||||||
docs.json
|
docs.json
|
||||||
__dummy.html
|
__dummy.html
|
||||||
docs/
|
docs/
|
||||||
|
|
||||||
|
# tofu binary
|
||||||
|
/tofu
|
||||||
|
|
||||||
# Code coverage
|
# Code coverage
|
||||||
*.lst
|
*.lst
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,24 @@
|
|||||||
# tofu
|
# 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.
|
||||||
|
|||||||
@@ -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"]
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
import std.stdio;
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
writeln("tofu: ZUUR package manager");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
@@ -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;
|
||||||
Reference in New Issue
Block a user