Skip to content

Latest commit

 

History

History
24 lines (22 loc) · 703 Bytes

File metadata and controls

24 lines (22 loc) · 703 Bytes

hoso

Package manager written in Rust

Packing

To create a package, structure your files as follows and run:

hoso pack <path_to_your_package_directory>

Structure:

hoso.pke
│
├─ md.json        # metadata (name, version, arch, deps, description)
├─ bin/           # executables, linked into /usr/bin or /opt
│   ├─ hoso
│   └─ other_binaries
├─ configs/       # config files to place into /etc or app-specific dirs
│   └─ app.conf
├─ scripts/       # lifecycle scripts
│   ├─ pre.sh     # runs before installation
│   └─ post.sh    # runs after installation
└─ signature      # optional: public key signature (for verification)