Skip to content

Structure

hayam edited this page Oct 13, 2026 · 1 revision

Structure

Cubex is architecture agnostic. The src/ directory mirrors the structure of usr/. Even on distributions that use a different top-level directory, the usr/ hierarchy for binaries, libraries, and commands remains identical. This layout reflects the software's intended internal filesystem structure, using absolute paths for storage locations and relative paths for binaries, libraries, and commands as follows

src
├── etc
└── usr
    ├── bin
    │   ├── cubex
    │   └── cx -> cubex
    ├── lib
    │   └── cubex
    │       ├── commands
    │       └── common
    └── share
        └── cubex
            ├── help.txt
            └── version.txt

It is packages using nfpm with only version tags that triggers build and publish to releases. The version tag with words (ie. v0.10.28-testing.1) becomes pre-release and others (ie. v0.10.20) becomes latest.

Clone this wiki locally