https://github.com/crystal-linux/malachite
MOVED TO https://git.getcryst.al/crystal/software/malachite
https://github.com/crystal-linux/malachite
crystal hacktoberfest
Last synced: 8 months ago
JSON representation
MOVED TO https://git.getcryst.al/crystal/software/malachite
- Host: GitHub
- URL: https://github.com/crystal-linux/malachite
- Owner: crystal-linux
- License: gpl-3.0
- Created: 2022-05-31T13:14:00.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-06T17:54:00.000Z (about 2 years ago)
- Last Synced: 2024-05-01T11:24:01.029Z (almost 2 years ago)
- Topics: crystal, hacktoberfest
- Language: Rust
- Homepage: https://getcryst.al
- Size: 285 KB
- Stars: 21
- Watchers: 3
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Malachite
**NOTE**: As a trial, Malachite's development currently takes place at https://git.getcryst.al/crystal/software/malachite
Malachite is a simple yet useful workspace and local repository management tool, made for packagers of Arch Linux based distributions.
--> Detailed Usage Guide <--
### Basic Usage Guide
| Action | Command |
|--------------------------------------------------------|-------------------------------------------|
| Build a package | mlc build \ [all if left empty] |
| Generate local repository | mlc repo-gen |
| Update local repos/PKGBUILDs | mlc pull/update [all if left empty] |
| Create and/or open config file | mlc conf |
| Initialises repo/workspace based on config in mlc.toml | mlc clone/init |
| Displays information about a Malachite repository | mlc info/status |
### Pacman Repository Creation
- `mlc config` to create the config (and also populate it)
- `mlc init` to build repository base from config file
- `mlc build ` to either build individual packages, or don't specify package names to build all packages in mlc.toml
- `build` typically automatically updates the repository unless `--no-regen` is passed, if so:
- `mlc repo-gen` to generate functional pacman repository at \/\.db from built packages
## How to build:
Tested on latest Cargo (1.60.0-nightly)
### Debug/development builds
- `cargo build`
### Optimised/release builds
- `cargo build --release`