From ec1aeee7791ac4df0aa71a5e7a2a0199091ddb3c Mon Sep 17 00:00:00 2001 From: michal Date: Sun, 23 Jan 2022 23:12:27 +0000 Subject: [PATCH] readme stuff --- README.md | 29 +++++++---------------------- 1 file changed, 7 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 8208768..1b51350 100644 --- a/README.md +++ b/README.md @@ -21,17 +21,12 @@ | Initialises repo/workspace based on config in mlc.toml | mlc init | | Prunes old, duplicate packages from repository | mlc prune \ | -## Exit codes overview - -| Exit Code (i32) | Reason | -|-----------------|----------------------------------------------------------| -| 1 | Running ame as UID 0 / root | -| 2 | Failed adding package to database | -| 3 | Failed initialising database | -| 4 | Error creating cache and/or database paths | -| 5 | Could not find one or more required package dependencies | -| 6 | User cancelled package installation | -| 7 | Pacman error when installing package | +### Pacman Repository Creation + +- `mlc config` to create the config (and also populate it) +- `mlc init` to build repository base from config file +- `mlc build /--all` to either build individual packages or all packages in mlc.toml +- `mlc repo-gen` to generate functional pacman repository at \/\.db from built packages ## How to build: @@ -45,14 +40,4 @@ Tested on latest Cargo (1.60.0-nightly) #### Optimised/release builds -- `cargo build --release` - - \ No newline at end of file +- `cargo build --release` \ No newline at end of file