readme stuff

main
michal 2 years ago
parent b83fbab8a7
commit ec1aeee779

@ -21,17 +21,12 @@
| Initialises repo/workspace based on config in mlc.toml | mlc init | | Initialises repo/workspace based on config in mlc.toml | mlc init |
| Prunes old, duplicate packages from repository | mlc prune \<days\> | | Prunes old, duplicate packages from repository | mlc prune \<days\> |
## Exit codes overview ### Pacman Repository Creation
| Exit Code (i32) | Reason | - `mlc config` to create the config (and also populate it)
|-----------------|----------------------------------------------------------| - `mlc init` to build repository base from config file
| 1 | Running ame as UID 0 / root | - `mlc build <package>/--all` to either build individual packages or all packages in mlc.toml
| 2 | Failed adding package to database | - `mlc repo-gen` to generate functional pacman repository at \<name\>/\<name\>.db from built packages
| 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 |
## How to build: ## How to build:
@ -45,14 +40,4 @@ Tested on latest Cargo (1.60.0-nightly)
#### Optimised/release builds #### Optimised/release builds
- `cargo build --release` - `cargo build --release`
<!--
echo "MLC_UWU=true" >> ~/.zshrc
echo "MLC_UWU=true" >> ~/.bashrc
set -Ux MLC_UWU true
:)
-->
Loading…
Cancel
Save